The Next CSS Frontier — Classless

What do you mean by “classless”?

<button type="button" class="btn btn-primary">Primary</button>
<button>Primary</button>

Why care

  • Classless frameworks are smaller because they don’t mention classes, and don’t pile custom widgets.
  • Classless is easier because you don’t need to look up the docs to find out which class does what. You just use standard HTML. Is the class “btn” or “button” in this one?
  • Classless start you off prettier than the mega-ui-frameworks because they’re designed for the plain html scenario.
  • The downside is you might have to bring in some of your own widgets. E.g. a shape-shifting menu bar. Are you sure you need a shape-shifting menu bar?
  • Classless frameworks are not just for communists. But I imagine communists would enjoy them even more.

1996

2003

2004–2007

* {
padding:0;
margin:0;
}

2011

2019

The Future

https://www.cssbed.com

References

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store