npm install basilcss
or yarn add basilcss
in your project directory.main.jsx
and write import 'basilcss'
on top of your file.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="https://github.com/Basilcss/core/blob/main/styles/main.css">
</head>
If you're interested in contributing to Basil CSS, please read our contributing docs before submitting a pull request.