This content originally appeared on Bram.us and was authored by Bramus!
In this post, I will share my current take on CSS structure. It does not religiously follow any particular methodology, although people familiar with Harry Roberts’ ITCSS (“Inverted Triangle CSS”) will definitely recognize parts of his methodology.
The folder structure indeed looks very familiar:
/scss/
├── 1-settings
├── 2-design-tokens
├── 3-tools
├── 4-generic
├── 5-elements
├── 6-skeleton
├── 7-components
├── 8-utilities
├── _shame.scss
└── main.scss
Thanks for sharing, Matt. Always great to compare (and in this case validate) my own approach to other people’s work.
This content originally appeared on Bram.us and was authored by Bramus!
Bramus! | Sciencx (2021-10-18T21:31:28+00:00) How I Structure My CSS. Retrieved from https://www.scien.cx/2021/10/18/how-i-structure-my-css/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.