vanilla-css
v4.3.11
Published
vanilla-css.com
Downloads
4
Readme
Vanilla CSS - fast, lightweight, easy to understand framework for working with your front-end
Introduction The Vanilla CSS team maintains every byte of code in the framework and works hard each day to make sure it is small and intuitive. Who's using Vanilla CSS? Glad you asked! Here are a few:
- YouTube
- Yahoo
- Wikipedia
- Amazon
- MSN
- eBay
- Microsoft
- Tumblr
- Apple
- PayPal
- Netflix
- Stack Overflow
In fact, Vanilla CSS is already used on more websites than LESS, SASS, Stylus, and BEM - combined. In addition Vanilla CSS is fully ready for mobile responsiveness (see @media queries)
Vanilla CSS has been tested thoroughly and is compatible with the following frameworks
Semantic UI - Bootstrap - Foundation - UIKit - 960 Grid System - Skeleton - Kube - Yaml - YUI CSS - Boilerplate - Helium
However, it's generally accepted that Vanilla-CSS can outperform any of the above frameworks. It also has a much smaller footprint. Just take a look at the file size comparisons.
| Framework | Download size | |-------------|---------------| | Bootstrap | 3.2 MB | | Foundation | 81.3 KB | | Pure | 36.6 KB | | Skeleton | 8.11 KB | | UIKit | 765 KB | | Vanilla-CSS | 0 KB |
Download
Ready to try Vanilla CSS? Follow these simple steps
- Step 1 - Create a file - vanilla.css
- Step 2 - Add the following line to the top
/* my vanilla css */
- Step 3 - Bam! Bob's your uncle! Now you're ready to fill in the rest of that page with Vanilla CSS!
Examples
Element Selector - Make a <p>
tag red
p {
color: red;
}
Id selector - Make an element with an id my-id
blue
#my-id {
color: blue;
}
Class selector - Make an element with class 'my-class' yellow
.my-class {
color: yellow;
}
- Step 4 - Deploy
Deploying Vanilla CSS in your next HTML project is as simple as placing a link element in the head of your HTML document.
Example
<head>
<link rel="stylesheet" href="vanilla.css">
</head>
Just save your HTML document, open it in your favorite web browser, and see the delicious results!
Testimonials
Native support for HTML5 and other cutting-edge technologies makes me keep coming back to Vanilla CSS, time after time.
Works great in all browsers, other than IE8 which can get a bit tricky, this framework has saved my life time after time.
Further Reading
- https://en.wikipedia.org/wiki/Cascading_Style_Sheets
- https://developer.mozilla.org/en-US/docs/Web/CSS
- http://www.w3schools.com/cssref/css_selectors.asp
Contribute
Please report any bugs or submit feature requests to Vanilla-CSS github issue tracker
Meet the Team
Alex (aka aethant)
Scrum Master
https://github.com/aethant
Carl Winkler (aka seikho)
Lead Developer
https://github.com/seikho
Justin Maat (aka jxm262)
Lead Documentation Maintainer/Devops
https://github.com/jxm262
Tony Phillips (aka neutraltone)
Developer / Lead Translator of UK to US english
https://github.com/neutraltone
JD Flynn (aka dorf)
Project Evangelist / SEO Specialist
https://github.com/jddoesdev