14 lines
202 B
SCSS
14 lines
202 B
SCSS
|
@mixin selection {
|
||
|
$before-colons: "";
|
||
|
|
||
|
@if & {
|
||
|
$before-colons: "&"
|
||
|
}
|
||
|
|
||
|
#{$before-colons}::selection {
|
||
|
@content;
|
||
|
}
|
||
|
#{$before-colons}::-moz-selection {
|
||
|
@content;
|
||
|
}
|
||
|
}
|