No description
Find a file
Yohn f25840f51a - Updated form validation to not validate when form[novalidate]
- Updated tooltips to go multiline, max width of 250px.
-Updated card footer, to remove the margin from the last element if they are buttons or groups when in the footer
- Made container, grid, and row classes to have a parent class, so they will not effect rest of page. This will only work if you use that style css.

- Added tabs
- Added floating labels
- Added responsive nav hamburger menu

Let me know if you find any bugs or have ideas for improvements!
2024-12-10 12:30:06 -05:00
.github Changed spacing on form elements to be a tad smaller. It was just too big for my liking, and I feel this way is a lot easier. 2024-12-07 19:56:51 -05:00
css - Updated form validation to not validate when form[novalidate] 2024-12-10 12:30:06 -05:00
demo V. 2.1.0 - Yohns Fork 2024-11-27 00:38:59 -05:00
docs - Updated form validation to not validate when form[novalidate] 2024-12-10 12:30:06 -05:00
scripts - Updated form validation to not validate when form[novalidate] 2024-12-10 12:30:06 -05:00
scss - Updated form validation to not validate when form[novalidate] 2024-12-10 12:30:06 -05:00
.editorconfig rebuilt css files, For some reason was having issues with the line endings, hopefully the editorconfig will fix it. 2024-12-03 14:27:56 -05:00
.gitignore Updated Docs 2024-12-03 13:40:34 -05:00
.node-version surpressimg sass warnings 2024-11-10 11:27:44 -05:00
.nvmrc surpressimg sass warnings 2024-11-10 11:27:44 -05:00
.prettierrc chore: lint with prettier on build 2022-10-15 23:22:12 +07:00
composer.json - Updated form validation to not validate when form[novalidate] 2024-12-10 12:30:06 -05:00
LICENSE.md chore: update copyright date 2024-02-11 12:09:11 +07:00
package.json - Updated form validation to not validate when form[novalidate] 2024-12-10 12:30:06 -05:00
README.md - Updated form validation to not validate when form[novalidate] 2024-12-10 12:30:06 -05:00

Pico CSS

Github release npm version License

Yohns Updated Version

I'm not sure if the original Pico CSS repository is abandoned or not, but I really liked what they had to offer, and wanted to help not let this awesomely simple and easy to use front end framework disappear, so I merged as many of open pull requests that fixed some issues, and / or enhanced the project that were available at the time. I'll try to help keep it viable and do some bug fixes if any arise, and would alway appreciate anyone elses help to continue keeping this alive!

You can see the new features I, and many others have created pull requests for by going to Yohns Pico CSS. This page just has the demos of most of the features I have merged, or added to the project.

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à!

Whats new in v2?

Pico v2.0 features better accessibility, easier customization with SASS, a complete color palette, a new group component, and 20 precompiled color themes totaling over 100 combinations accessible via CDN.

Read more

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

Table of contents

  1. Yohns Updated Version
  2. Minimal CSS Framework for Semantic HTML
  3. Whats new in v2?
  4. A Superpowered HTML Reset
  5. Table of contents
  6. Quick start
    1. Install manually
    2. Usage from CDN
    3. Install with NPM
    4. Starter HTML template
  7. Class-less version
  8. Limitations
  9. Documentation
  10. Browser Support
  11. Contributing
  12. Copyright and license

Quick start

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" />

Usage from CDN

Alternatively, you can use jsDelivr CDN to link pico.css.

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@yohns/picocss@2.2.0/css/pico.min.css" />

Install with NPM

npm i @yohns/picocss

Then, import Pico into your SCSS file with @use:

@use "pico";

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.min.css">
    <title>Hello world!</title>
  </head>
  <body>
    <main class="container">
      <h1>Hello world!</h1>
    </main>
  </body>
</html>

Class-less version

Pico provides a .classless version.

In this version, <header>, <main>, and <footer> inside <body> act as containers to define a centered or a fluid viewport.

Use the default .classless version if you need centered viewports:

<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/@yohns/picocss@2.2.0/css/pico.classless.min.css"
/>

Or use the .fluid.classless version if you need a fluid container:

<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/@yohns/picocss@2.2.0/css/pico.fluid.classless.min.css"
/>

Then just write pure HTML, and it should look great:

<!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="https://cdn.jsdelivr.net/npm/@yohns/picocss@2.2.0/css/pico.classless.min.css"
    />
    <title>Hello, world!</title>
  </head>
  <body>
    <main>
      <h1>Hello, world!</h1>
    </main>
  </body>
</html>

Limitations

Pico CSS can be used without custom CSS for quick or small projects. However, its designed as a starting point, like a “reset CSS on steroids”. As Pico does not integrate any helpers or utilities .classes, this minimal CSS framework requires SCSS or CSS knowledge to build large projects.

Read more

Documentation

Getting started

Customization

Layout

Content

Forms

Components

About

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

If you are interested in contributing to Pico CSS, please read our contributing guidelines.

Licensed under the MIT License.