<p>Hide element by adding <code class="code-inline-preview">-hide</code> to an element.</p>
<pre class="code-preview"><div class="-hide">
...
</div></pre>
<p>Can also be used as a mixin include</p>
<pre class="code-preview">.element {
@include hide;
}</pre>
<p>Hide element by adding <code class="code-inline-preview">-hide</code> to an element.</p>
{{render '@helper-code-preview' parent}}
<p>Can also be used as a mixin include</p>
{{render '@helper-code-preview' mixin}}
{
"parent": {
"snippet": "<div class=\"-hide\">\n ...\n</div>"
},
"mixin": {
"snippet": ".element {\n @include hide;\n}"
}
}
/* Hide */
.-hide {
@include hide();
@at-root .-mobile &-mobile-small {
@include breakpoint(pre-medium down) {
@include hide();
}
}
&-pre-medium-down {
@include breakpoint(pre-medium down) {
@include hide();
}
}
&-medium {
@include breakpoint(medium) {
@include hide();
}
}
}
There are no notes for this item.