vanilla-css

    4.3.11 • Public • Published

    vanilla css logo

    Vanilla CSS - fast, lightweight, easy to understand framework for working with your front-end

    Travis build status Coverage Status npm version

    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:

    • Facebook
    • Google
    • YouTube
    • Yahoo
    • Wikipedia
    • Twitter
    • Amazon
    • LinkedIn
    • MSN
    • eBay
    • Microsoft
    • Tumblr
    • Apple
    • Pinterest
    • PayPal
    • Reddit
    • 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

    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

    Keywords

    Install

    npm i vanilla-css

    DownloadsWeekly Downloads

    2

    Version

    4.3.11

    License

    GPL-3.0

    Last publish

    Collaborators

    • afewinterestingthings
    • htmelvis
    • jxm262
    • neutraltone
    • seikho