But here's an interesting case, when combining with @extend :
.full-height-carousel {
html.xlarge & { height:775px; }
html.large & { height:620px; }
html.medium & { height:493px; }
html.small & { height:432px; }
}
article#main #pages.generic-carousel {
div.carousel-wrap{
float:left;
width:100%;
position:relative;
@extend .full-height-carousel;
}
}
results in e.g.
html.xlarge .full-height-carousel,
html.xlarge article#main #pages.generic-carousel div.carousel-wrap,
article#main #pages.generic-carousel html.xlarge div.carousel-wrap {
height: 775px;
}
The last selector is unexpected. Again, is this a bug (with @extedn
rather than &)?
Rhys