5. Mixin Facts: @include inside the .back selector wont work


#1



Im stuck at Mixin Facts

I tried putting the @include transform(rotatey(-180deg)); inside the .back selector but it seems like it cannot read the property of null.

 .back {
  z-index: 1;
  word-wrap: break-word;
  line-height: 1.6;
  	@include transform(rotatey(-180deg));
    
    .definition {
      width: 100%;
      height: 100%;
            
      .photo {
        width: 60%;
        margin: 0px auto;
          
      }
    }
  }
}


#2

It's due to last FF update, as I supppose. You see, function getComputedStyle() reads all the scss code, not only yours. And if it returns Null, it's not your mistake, app have failed to read any code at all.

I tired the same task in Chrome and got no errors.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.