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

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes