Browser Support
Bonsai CSS is built using many modern CSS features. Most notable of these features include CSS variables, also known as CSS custom properties and CSS grid. Support for these features is exceptional among modern evergreen browsers, however older, non evergreen browsers lack support for many of these same features. We therefore recommend that if support of older browsers like IE 10 and 11 are a concern then Bonsai CSS will not be the correct fit for your project.
Following are the most modern CSS features used by Bonsai CSS along with their corresponding entry in the excellent Can I Use database.
- CSS Variables (Custom Properties) .. caniuse.com/#feat=css-variables
- CSS Grid .. caniuse.com/#feat=css-grid
- Locigcal Properties .. caniuse.com/#feat=css-logical-props
- Object Fit .. caniuse.com/#feat=object-fit
Vendor Prefixes
The distributed version of the compiled Bonsai CSS comes with vendor prefixes included. If you wish to control which prefixes are applied, you can import the source files and run them through your own PostCSS setup.