Basic styles for HTML Elements. Providing a mostly-reasonable set of styles without classes.
Use it for simple static sites or as a starting point and add your own classes. This is not a complete solution with layout grids, components, utility classes, and the like.
- No layout support
- No CSS classes
- Tiny
- Dark and Light modes
I used the fantastic HTML Elements Reference on MDN and modified it as needed.
I created Bolt.css because I wanted to
- Pay homage to HTML
- Have an exercise to learn more of the lesser-known tags/elements
- Use it in other projects
Drop this right into your <head>
to use it via a CDN
<link rel="stylesheet" href="https://unpkg.com/boltcss/bolt.min.css" integrity_no="sha384-PSzHklU0wT897cBMg+9qlTsh9O0FtnWnfHus5/jGskSj518OHHoQug4Z2cAKCfcV">
You will automatically receive updates/refinements as they are added.
If you want to lock to a specific version you can do so by adding a version to the href like so:
<link rel="stylesheet" href="https://unpkg.com/[email protected]/bolt.min.css">
npm i boltcss
or
yarn add boltcss
You can self-host or copy + paste the stylesheet into your project by grabbing bolt.css directly.
Feel free to provide feedback or report problems by opening an issue. I am open to new ideas and ways to improve the library.