Skip to content
Search for easy dinners, fashion, etc.
When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures.
Mastering CSS Architecture with Variables
Explore
an image of a laptop with the word css on it and a coffee pot next to it
smashingmagazine.com

CSS Variables: The Architecture Backbone — Smashing Magazine

Using a preprocessor does not automatically upgrade one’s code: A thorough foundation in CSS is a prerequisite. In Karen Menezes’ experience, badly architected and overly abstracted preprocessor code is much harder to debug and maintain than a large CSS file created with basic structure and common sense. Variables can be seen as the backbone of a well-constructed project. Well-commented and well-defined variables set a great foundation for a project of any size. By maintaining a…
smashingmagS
Smashing Magazine

Comments