Pico - Classless CSS
Pico is a lightweight, classless CSS framework that aims to be a lightweight and easy to use CSS framework.
Usage
Works without package manager or dependencies 🙂!
There are 4 ways to get started with Pico CSS:
Install manually
Download Pico and link /css/pico.min.css
in the <head>
of your website.
<link rel="stylesheet" href="css/pico.min.css">
Install from CDN
Alternatively, you can use jsDelivr CDN to link pico.css
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css">
Install with NPM
npm install @picocss/pico
Install with Composer
composer require picocss/pico
Starter HTML template:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="css/pico.min.css" />
<title>Hello, world!</title>
</head>
<body>
<main class="container">
<h1>Hello, world!</h1>
</main>
</body>
</html>
NOTE: To use Pico with Vue3,
- Run the following command inside of your project folder.
npm i @picocss/pico
- Then, add the following script tag to your
main.js
file.
// PicoCSS
import "./../node_modules/@picocss/pico/css/pico.min.css";
- At the end, comment out or delete vuetify (or any kind of vue component framework) related rows in your
main.js
file.