You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this case, %box is an abstract representation of a floating element with some additional features. Which can only be extended by using @at-root.
The code is compiled to the following 'compressed' output:
/* %box is extended here perfectly */@media (max-width:700px) {
.medium-1 {
width:12.5%; } }
/* more media queries for each element */@media (max-width:700px) {
.medium-8 {
width:100%; } }
It basically creates a media block for each of the generated elements while the for-loop is contained inside the media query.
When the code is compiled without the @at-root block, all the elements are contained inside a single media query.
The text was updated successfully, but these errors were encountered:
I have encountered a problem in the CSS output generated by Sass 3.3.7 (Maptastic Maple).
The problem
I have the following SCSS:
In this case,
%box
is an abstract representation of a floating element with some additional features. Which can only be extended by using@at-root
.The code is compiled to the following 'compressed' output:
It basically creates a media block for each of the generated elements while the for-loop is contained inside the media query.
When the code is compiled without the
@at-root
block, all the elements are contained inside a single media query.The text was updated successfully, but these errors were encountered: