Skip to content

Repository files navigation

Clear

A minimal SaSS framework to help deploy fast pages

Table of contents

Usage

There are two ways of using Clear.
Clone the repo: ``.

Via the command line by globally installing the required tools.

  • Globally installing the neccesary tools npm -g i node-sass npm -g i nodemon

  • Compiling

npm run build-css

minifying css not yet available..

Via nodeJs

  • Installing neccesary modules

To get node to install the neccesary modules run npm i from the root directory

  • Running the project

Run the project via node index.js

Any compiled css can be found under css/

What's included

To create a webpage with this framework start with this skeleton:

<!DOCTYPE html><html><head><metacharset="UTF-8"><metahttp-equiv="X-UA-Compatible" content="IE=edge"><metaname="viewport" content="width=device-width, initial-scale=1, user-scalable=no"><title>Clear</title><linkrel="stylesheet" href="./css/main.css"></head><body><!-- start building --></body></html>

Responsive functionality

Display content based on screen size.

classx-smallsmallmediumlargex-large
.visible-xsmall-upyyyyy
.visible-small-upxyyyy
.visible-medium-upxxyyy
.visible-large-upxxxyy
.visible-xlarge-upxxxxy

Hide content based on screen size

classx-smallsmallmediumlargex-large
.hidden-xsmall-upxxxxx
.hidden-small-upyxxxx
.hidden-medium-upyyxxx
.hidden-large-upyyyxx
.hidden-xlarge-upyyyyx

remember that all responsive classes must be wrapped around div.row in order to behave as expected

About

Minimal SaSS Framework

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages