basilcss
v1.2.1
Published
A lightweight and flexible CSS framework
Downloads
24
Maintainers
Readme
Basil CSS
A simple and lightweight CSS framework for building custom user interfaces.
How to use
- Run
npm install basilcss
oryarn add basilcss
in your project directory. - Go to your root file for example
main.jsx
and writeimport 'basilcss'
on top of your file. - Start styling your project.
If you have a vanilla HTML/CSS/JS project just add this line in your <head>
HTML tag above your root css file: <link rel="stylesheet" href="https://unpkg.com/basilcss@latest/basil.css">
Make sure it's above so you can overwrite and spice up your styles as you develop your project.
Like so:
<head>
<link rel="stylesheet" href="https://unpkg.com/basilcss@latest/basil.css">
// make sure it's above the main css file
<link rel="stylesheet" href="./styles/main.css">
</head>
Contributing
If you're interested in contributing to Basil CSS, please read our contributing docs before submitting a pull request.