DEV Community

Discussion on: #DEVDiscuss: CSS Libraries, Frameworks, and Engines

Collapse
 
fnh profile image
Fabian Holzer • Edited

If I can get away with it, I like classless CSS, e.g. a stylesheet that I can just drop into my markup without adding additional classes. For a few examples, see: cssbed.com/

This works reasonably well for smaller, more document-oriented websites. With web application the markup soon needs to play multiple roles (for example: a ul can be a bulleted list or can represent breadcrumbs, or a progress can either be displayed as linear or circular) and the classless approach reaches its limits.

Do you prefer a CSS framework or a CSS engine?

If CSS engine means I need javascript to write my styles, then it's a hard pass on CSS engines (but I always thought a CSS engine is the part of a browser that interprets the stylesheets it found and adjusts the layout)

And if you prefer vanilla CSS...why?

As a principle: the fewer moving parts in the build, the better.