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

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
Im stuck at Mixin Facts

<In what way does your code behave incorrectly? Include ALL error messages.>

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;
          
      }
    }
  }
}


1 Like

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.

1 Like

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