Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

^[-1]:hover ^[-1..-1] - property is not valid #442

Open
yura-master-web opened this issue Sep 5, 2018 · 0 comments
Open

^[-1]:hover ^[-1..-1] - property is not valid #442

yura-master-web opened this issue Sep 5, 2018 · 0 comments

Comments

@yura-master-web
Copy link

yura-master-web commented Sep 5, 2018

.carousel
	display block
	background-color colors('dark')

	&__item
		position relative
		display flex
		flex-direction column-reverse
		font-size px2rem(18px)
		font-weight 300
		color colors('white')

		.owl-carousel_servises .owl-item:nth-child(2n) &
			flex-direction column

		.carousel-services-content, .carousel-services-images
			width 100%

		.carousel-services-images
			background-position center
			background-size cover
			opacity .8
			transition opacity $transition-time

			^[-1]:hover ^[-1..-1]
				opacity 1

response

.carousel {
  display: block;
  background-color: #1a1a1a;
}
.carousel__item {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column-reverse;
      flex-direction: column-reverse;
  font-size: 1.125rem;
  font-weight: 300;
  color: #fff;
}
.owl-carousel_servises .owl-item:nth-child(2n) .carousel__item {
  -ms-flex-direction: column;
      flex-direction: column;
}
.carousel__item .carousel-services-content,
.carousel__item .carousel-services-images {
  width: 100%;
}
.carousel__item .carousel-services-images {
  background-position: center;
  background-size: cover;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.carousel__item:hover .carousel-services-images {
  opacity: 1;
}

.carousel__item:hover .carousel-services-images {
  opacity: 1;
}

is good, but

^[-1]:hover ^[-1..-1]
    opacity 1

console write - property is not valid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant