Last active
February 5, 2020 11:49
-
-
Save anfibiacreativa/86d33f255721e6c2390b1006f6a2762e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// ok, this file is called example-block?! How is that?! | |
// No, this is just to identify gists ;) | |
// Sooo, name the element after, you know, an element or a generic reference to it! | |
// do! | |
.example { | |
&__wrapper { | |
// code | |
} | |
&__innerWrapper { | |
// code | |
} | |
&__hl { | |
// code | |
} | |
&__subHl { | |
// code | |
} | |
&__list { | |
// code | |
} | |
&__listItem { | |
// code | |
} | |
&__txt { | |
// code | |
} | |
} | |
// don't! what if you want to reuse the same styles in another component? or the requirement changes! | |
.example { | |
&__copyrightNotice { | |
// code | |
} | |
&__productDescription { | |
// code | |
} | |
&__largeTitle { | |
// code | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment