Skip to content

Instantly share code, notes, and snippets.

@seven-phases-max
Last active December 29, 2015 21:08
Show Gist options
  • Save seven-phases-max/7727889 to your computer and use it in GitHub Desktop.
Save seven-phases-max/7727889 to your computer and use it in GitHub Desktop.
// v1:
ul.checked li:before {
&:extend(.icon-ok:before);
&:extend([class^="icon-"]:before);
&:extend([class*=" icon-"]:before);
color: #4fa33b;
}
// v2:
ul.checked li:before {
&:extend(.icon-ok:before,
[class^="icon-"]:before,
[class*=" icon-"]:before);
color: #4fa33b;
}
// v3:
ul.checked li:before
:extend(.icon-ok:before,
[class^="icon-"]:before,
[class*=" icon-"]:before) {
color: #4fa33b;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment