If you wanna dive into flexbox layouts then now is the best time to start. Modern browsers are finally accepting flexbox properties and more developers are getting into the action.
Read Also: UI Design: An Intro to Flexible Box
But, why start from scratch when you can build on top of reusable code? Spectre.css is one of the best frameworks to start using if you’re new to flexbox.
This free open-source framework comes pre-built with a functioning grid system and common flexbox properties. It relies on Gulp for compiling and running CSS on the fly, from any computer.
It also uses LESS instead of Sass, which can make Spectre and a terrific choice for all LESS users.
One download from npm comes with everything you need: CSS icons, mixins, variables, and pretty much anything else you would expect from a typical CSS framework.
You can find tons of examples on the “Elements” page which lists design samples for text, buttons, tables, icons, and web forms (among other things).
Spectre also comes with tons of components that can save you hours of time spent coding from scratch. Dynamic features, such as pop-overs and dropdown menus, are super easy to add to any layout, with just a few lines of code.
This framework is still pretty new and it’s always undergoing changes. At the time of this writing, Spectre is in v0.2 and has plenty of experimental features you can try.
But, the primary components, page elements, and grids are fully functional and ready for a live production site. Spectre is one of the best CSS frameworks running on Less with flexbox grids.
To learn more and get started, visit the documentation page covering installation & setup.
Powered by WPeMatico