Forked from basscss
- All resources are local to this package (in
./src
), rather than in sub-packages - All class names have
ub-
prepended - Multiple modules are compiled and can be imported (e.g.
import 'u-basscss/css/layout.css';
) - Margin and padding start at
0.25rem
instead of0.5rem
- The custom-prop build has been removed
Renamed text alignment classes:
.ub-left-align
=>.ub-tx-left-align
.ub-center
=>.ub-tx-center
.ub-right-align
=>.ub-tx-right-align
.ub-justify
=>.ub-tx-justify
Added the following class:
.ub-line-height-noraml { line-height: normal }
Low-level CSS toolkit http://basscss.com
Basscss is a lightweight collection of immutable utilities designed for speed, clarity, performance, and scalability.
Using clear, humanized naming conventions, Basscss is quick to internalize and easy to reason about while speeding up development time with more scalable, more readable code.
Things behave exactly as expected with immutable utilities and styles that follow the open/closed principle to help prevent common pitfalls with CSS.
Reusable, interoperable styles work like building blocks to lay the foundation for any stylesheet and can be mixed and matched in any number of combinations.
Basscss strikes a balance between consistency and flexibility to allow for rapid prototyping and quick iterative changes when designing in the browser.
Basscss provides lightweight, performant styles and flexible utilities to design for any device and to help reduce boilerplate in stylesheets.
Modular and customizable typography and layout styles don’t dictate what things should look like and play well with other stylesheets and frameworks.
The core Basscss package does not include any base element styles. For an out-of-the-box solution, see:
https://github.com/basscss/basic
In addition to the core modules, optional modules, including responsive margin, padding, layout, and typography styles, can be found here:
https://github.com/basscss/addons
For a bundle with the core Basscss and all optional modules, see:
https://github.com/basscss/ace
See CONTRIBUTING.md