CSS Framework With Almost No Classes – no.css

Category: CSS & CSS3 , Frameworks , Recommended | August 14, 2020
Views Total:311 views
Official Page:Go to website
Last Update:August 14, 2020


CSS Framework With Almost No Classes – no.css


no.css is a pure CSS front-end framework that helps developers quickly create modern web pages with almost no classes.

You can think of it as an advanced CSS reset library. Comes with several commonly used components like dropdown, modal, and accordion.

How to use it:

1. Download and load the no.min.css in the document.

<link rel="stylesheet" href="no.css" />

2. Create a responsive dropdown nav. Possible color classes:

  • black
  • white
  • default
  • success
  • warning
  • error
  • info
  • transparent
<nav class="black">
  <a>LOGO HERE</a>
  <label for="hamburger">&#9776;</label>
  <input type="checkbox" id="hamburger" />
        <li><a>Lost Password</a></li>

3. Create an alert box.

<div role="alert" class="warning">
  <span class="close"></span>
  Alert Message Here

4. Create a grid system. Possible classes:

  • c25 (25%)
  • c33 (33%)
  • c50 (50%)
  • c66 (66%)
  • c75 (75%)
<div class="columns">
   <div class="c33">
   <div class="c66">

5. Create an accordion component.

no.css accordion

<div class="accordion">
  <!-- checkbox here is to keep the state of the accordion
       its id must be unique and referened by the label -->
  <input type="checkbox" id="x03">
  <label for="x03"><a>One</a></label>
  <div class="white">

6. Create a modal window.

no.css modal

<label role="button" for="x06">open modal</label>
  <div role="dialog">
    <input type="checkbox" id="x06"/>
      <label class="close" for="x06"></label>
      <center class="white padded">
        <h2>Hello from modal</h2>

You Might Be Interested In:

Leave a Reply