A small CSS library that has the bare minimum layout and styling to get your HTML5 app started.
Conceptually similar to Bootstrap, only about 16KB (minified,uncompressed) at the moment (as opposed to Bootstrap 3.3.7 which is 118KB uncompressed). Final aim is to be < 25% of the size of Bootstrap (uncompressed).
GNB is a pure CSS3 library, it has NO Javascript components, so feel free to BYOJSF.
bower install gnb
- Fontawesome
<link href="https://opensource.keycdn.com/fontawesome/4.6.3/font-awesome.min.css" rel="stylesheet" type="text/css" />
- node
- npm
- less -
npm install less --save --only=dev
- less-plugin-clean-css -
npm install less-plugin-clean-css --save --only=dev
- TypeScript -
npm install typescript -g
All dependencies are self-contained in package.json npm install
will install all required dependencies locally.
- Get started with the source code.
a. download the repositorygit clone https://github.com/sumitkm/gnb
b. Install TypeScript compiler globally (might need sudo)
npm install typescript -g
c. install all dependencies
npm install
d. compile gulp scripts
tsc
e. Compile LESS and start livereload. Demo page available on http://localhost:8080/demo
gulp dev
-
Compile only the LESS file
gulp less
-
Find the final CSS file?
Once you have rungulp less
orgulp dev
the LESS files are compiled into the./dist
folder. -
Bower package ?
Current version 0.1.7