@mixin testComments { /* crash */ p { width: 100px; } } @media screen and (orientation:landscape) { @include testComments; }