- 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.
<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>
If you're interested in contributing to Basil CSS, please read our contributing docs before submitting a pull request.