2019-12-09 15:14:26 +07:00
|
|
|
|
|
|
|
<a href="https://picocss.com/">
|
2019-12-11 13:55:07 +07:00
|
|
|
<img src="https://picocss.com/img/logo.svg" width="64" height="64">
|
2019-12-09 15:14:26 +07:00
|
|
|
</a>
|
|
|
|
|
|
|
|
# Pico.css
|
|
|
|
|
|
|
|
**Graceful & Minimal CSS design system in pure semantic HTML.**
|
|
|
|
Elegant styles for all natives HTML elements without `.classes` and dark mode automatically enabled.
|
|
|
|
|
|
|
|
`5.6 KB` minified and gzipped
|
|
|
|
|
|
|
|
- **Class-light and semantic**: we use simple native HTML tags as much as possible. Only 6 .classes are used in Pico.
|
|
|
|
- **Great styles with just one CSS file**: No dependencies, package manager, external files or JavaScript.
|
|
|
|
- **Responsive everything**: Elegant and consistent adaptatives spacings and typography on all devices.
|
|
|
|
- **Light or Dark mode**: Shipped with two beautiful color themes, automatically enabled according to the user preference.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2019-12-11 15:07:21 +07:00
|
|
|
There are 3 ways to get started with pico.css:
|
|
|
|
|
|
|
|
### Install manually
|
2020-07-21 09:25:38 +07:00
|
|
|
[Download Pico](https://github.com/picocss/pico/archive/v1.0.3.zip) and link `/css/pico.min.css` in the `<head>` of your website.
|
2019-12-09 15:14:26 +07:00
|
|
|
|
2019-12-11 09:13:13 +07:00
|
|
|
```html
|
|
|
|
<link rel="stylesheet" href="css/pico.min.css">
|
|
|
|
```
|
2019-12-09 15:14:26 +07:00
|
|
|
|
2019-12-11 15:07:21 +07:00
|
|
|
### Install from CDN
|
|
|
|
Alternatively, you can use the [unpkg CDN](https://unpkg.com/@picocss/pico@latest/) to link pico.css.
|
|
|
|
|
|
|
|
```html
|
|
|
|
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.min.css">
|
|
|
|
```
|
|
|
|
|
|
|
|
### Install with NPM
|
|
|
|
```shell
|
|
|
|
npm install @picocss/pico
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-09 15:14:26 +07:00
|
|
|
## Examples
|
|
|
|
|
|
|
|
- [**Class-less**](https://picocss.com/examples/classless/): Just a pure semantic HTML markup, without `.classes`
|
|
|
|
- [**Company**](https://picocss.com/examples/company/): A classic company or blog layout with a sidebar.
|
|
|
|
- [**Google Amp**](https://picocss.com/examples/google-amp/): A simple layout for Google Amp, with inlined CSS.
|
|
|
|
- [**Sign in**](https://picocss.com/examples/sign-in/): A minimalist layout for Login pages.
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
|
|
|
**Getting started**
|
|
|
|
- [Usage](https://picocss.com/docs/#start)
|
|
|
|
- [Themes](https://picocss.com/docs/#themes)
|
|
|
|
- [Customization](https://picocss.com/docs/#customization)
|
|
|
|
- [Class-less version](https://picocss.com/docs/#classless)
|
|
|
|
|
|
|
|
**Layout**
|
|
|
|
- [Containers](https://picocss.com/docs/#containers)
|
|
|
|
- [Grids](https://picocss.com/docs/#grids)
|
|
|
|
- [Horizontal scroller](https://picocss.com/docs/#scroller)
|
|
|
|
|
|
|
|
**Elements**
|
|
|
|
- [Typography](https://picocss.com/docs/#typography)
|
|
|
|
- [Buttons](https://picocss.com/docs/#buttons)
|
|
|
|
- [Forms](https://picocss.com/docs/#forms)
|
|
|
|
|
|
|
|
**Components**
|
|
|
|
- [Accordions](https://picocss.com/docs/#accordions)
|
|
|
|
- [Cards](https://picocss.com/docs/#cards)
|
|
|
|
- [Navs](https://picocss.com/docs/#navs)
|
|
|
|
- [Tooltips](https://picocss.com/docs/#tooltips)
|
|
|
|
|
|
|
|
## Copyright and license
|
2019-12-10 17:55:03 +07:00
|
|
|
|
2019-12-09 15:14:26 +07:00
|
|
|
- Licensed under the [MIT License](https://github.com/picocss/pico/blob/master/LICENSE.md)
|
|
|
|
- Openly inspired by [Bootstrap](https://github.com/twbs/bootstrap) ([MIT](https://github.com/twbs/bootstrap/blob/master/LICENSE)), [Spectre](https://github.com/picturepan2/spectre) ([MIT](https://github.com/picturepan2/spectre/blob/master/LICENSE)), [Wing](https://github.com/kbrsh/wing/) ([MIT](https://github.com/kbrsh/wing/blob/master/LICENSE)), [CSS Bed](https://github.com/ubershmekel/cssbed) & [Normalize](https://github.com/necolas/normalize.css/) ([MIT](https://github.com/necolas/normalize.css/blob/master/LICENSE.md))
|
|
|
|
- Library icons by [Feather](https://github.com/feathericons/feather) ([MIT](https://github.com/feathericons/feather/blob/master/LICENSE))
|
|
|
|
- Website icons by [Font Awesome](https://github.com/FortAwesome/Font-Awesome) ([CC BY 4.0](https://fontawesome.com/license/free))
|