Zell Liew 4/5/2017

Writing modular CSS (Part 3) — CSS file structure

Read Original

This article discusses strategies for organizing CSS (and JavaScript) files in a modular project. It compares the traditional method of separating files by type (CSS/JS folders) with a component-based structure where styles and scripts are grouped by feature. The author shares their personal preference for the traditional method and details their specific project folder setup within a `src/` directory, including subfolders for libraries, helpers, variables, base styles, layouts, objects, and components.

Writing modular CSS (Part 3) — CSS file structure

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet