Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $my-font-size:14px;
- p{
- font-size:$my-font-size;
- }
- div.section{
- &.type-1,&.type-2{
- h1{
- font-size:$my-font-size;
- }
- }
- }
- p,div.section.type-1 h1, div.section.type-2 h1{$font-size:$my-font-size;}
- p,div.section((&.type-1,&.type-2)) h1{$font-size:$my-font-size;}
- div.section{
- &.type-1,&.type-2{
- h1{
- p, #{selector-nest(append-selector('div.section', ('.type-1', '.type-2')), h1)} {font-size:$my-font-size;}
- p, #{nest(append-selector('div.section', '.type-1, .type-2'), h1)} {font-size:$my-font-size;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement