A Pen by Yvain Liechti on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.root { | |
.container { | |
.child { | |
color: red; | |
.test &::before { | |
content: 'Expected Selector: .test .root .container .child::before'; | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{## | |
# Display img | |
# | |
# @param string src [required] | |
# @param string default [required] | |
# @param string alt [optional] | |
# @param bool lazyload [optional] | |
# | |
# @param array formats [optional] Array string (image format) | |
# @param string|array sizes [optional] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
$grid-all-span-selector: (); | |
@for $i from 1 through 12 { | |
$grid-all-span-selector: append($grid-all-span-selector, '&-span_#{$i}', 'comma'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="timeline"> | |
<li><a href="#"><time>08/01/2015</time></a></li> | |
<li><a href="#"><time>15/01/2015</time></a></li> | |
<li><a href="#"><time>20/01/2015</time></a></li> | |
</ul> |