More Pico CSS (underlying fork)
/anyblades/pico fork
[!NOTE] This is a community-driven successor to the
Pico CSS framework with a few simple goals:
- Maintain
picominimally until its creator returns.- Focus exclusively on the
pico.cssversion, similar to howsimple.css is maintained (for Sass version check
@Yohn's fork instead).
- Keep all net new features in
/anyblades/blades, shipped as
pico.blades.cssโ a drop-in compatible replacement forpico.css.
Minimal CSS Framework for Semantic HTML
A minimalist and lightweight starter kit that prioritizes semantic syntax, making every HTML element responsive and elegant by default.
Write HTML, Add Pico CSS, and Voilร !
Whatโs new in v2.4? #
Now including all features from Blades CSS, shipped as
pico.blades.css โ a drop-in compatible replacement for pico.css.
Also, it includes various fixes for
original @picocss/pico issues:
#738 ๐ Submit button margin affecting siblings within .grid
#734 ๐ RTL breadcrumbs add weird backslashes
#733 ๐ Fix for datetime input width within groups within grids on medium breakpoint
#731 ๐ ๏ธ Allow to selectively unreduce motion like
[aria-busy="true"]does#727 ๐ Fix dropdown summary ul offscreen (Safari)
#721 ๐ ๏ธ Possible duplicate of text-align property inside the same element selector
#701 ๐ Nav dropdowns display error with Firefox
#696 ๐ ๏ธ Missing styling for
<var>element +#695
#670 ๐ Slow website picocss.com +
#718 (
box-shadowperformance issues)#513 ๐ Image element attribute height is overridden
A Superpowered HTML Reset #
With just the right amount of everything, Pico is great starting point for a clean and lightweight design system.
- Class-light and Semantic
- Great Styles with Just CSS
- Responsive Everything
- Light or Dark Mode
- Easy Customization
- Optimized Performance
Quick start #
There are 4 ways to get started:
A. Install manually #
Download CSS archive and link
css/pico.css in the <head> of your website.
<link rel="stylesheet" href="css/pico.css" />
B. Usage from CDN #
<link rel="stylesheet" href="
https://cdn.jsdelivr.net/npm/@anyblades/blades@3/css/pico.min.css
"/>
Live example: /pallets/website/blob/main/src/pallets/templates/layout.html
Full list of CSS files available on CDN: /npm/@anyblades/blades@3/css
C. Install with NPM #
npm install @anyblades/blades
Then, @import sources into your CSS file:
@import "@anyblades/blades/pico";
Alternatively, import standalone Blades CSS sources only (without underlying Pico CSS base styles):
@import "@anyblades/blades/standalone";
Live example using Tailwind: /anyblades/buildawesome-micro-starters/blob/main/tailwind/styles.css
D. Official starters #
/buildawesome-one/starter
/buildawesome-one/examples
/getgrav/grav-theme-quark2
/getgrav/grav-plugin-devtools
Starter HTML template #
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="color-scheme" content="light dark" />
<link rel="stylesheet" href="css/pico.css" />
<title>Hello world!</title>
</head>
<body>
<main class="container">
<h1>Hello world!</h1>
</main>
</body>
</html>
Dynamic templates #
Available for Nunjucks, Liquid and Twig โ
Documentation #
Trusted by #
- ๐
FastHTML
Limitations #
Pico CSS can be used without custom CSS for quick or small projects. However, itโs designed as a starting point, like a โreset CSS on steroidsโ. As Pico does not integrate many helpers or utility .classes, it requires CSS knowledge to build large projects.
Browser support #
Pico CSS is designed and tested for the latest stable Chrome, Firefox, Edge, and Safari releases. It does not support any version of IE, including IE 11.
Contributing #
/anyblades/pico for the original Pico CSS framework fixes.
/anyblades/blades for net new features and ideas.
Copyright and license #
Licensed under the MIT License.