On Github elHornair / smacss-presentation
Created by Alain Hornair / @elHornair
SMACSS was created by Jonathan Snook. He has around 20 years of experience with frondend development. He has written many articles and multiple books. He worked at Yahoo, redesigning Yahoo! Mail.
tl;dr: He knows what he's talking about. You must follow him on Twitter
Code example:
    body, form {
        margin: 0;
        padding: 0;
    }
    a {
        color: blue;
    }
    a:hover {
        color: green;
    }
                Example:
Code example:
    #header, #section, #footer {
        width: 960px;
        margin: auto;
    }
    #section {
        border: 1px solid #CCC;
    }
                Code example:
    #section {
        width: 100%;
    }
    .wide #section {
        width: 80%;
        float: left;
    }
                Code example:
    .my_module {
        background-color: red;
    }
                Code example:
    .my_module {
        background-color: red;
    }
    .my_module > h2 {
        color: blue;
    }
                Code example:
    .dialog {
        background-color: red;
    }
    .dialog > .dialog-title {
        color: blue;
    }
                Code example:
    <ul class="nav">
        <li>One</li>
        <li>Two</li>
    </ul>
    <ul class="nav nav-lang">
        <li>DE</li>
        <li>FR</li>
    </ul>
    .nav {
        font-family: Arial;
        font-color: white;
        font-size: 2em;
    }
    .nav.nav-lang {
        font-size: 1.6em;
    }
                
Bad example:
    .slideshow {
        width: 480px;
    }
    .content_home .slideshow {
        width: 100%;
    }
                    Good example:
    .slideshow {
        width: 480px;
    }
    .slideshow.slideshow-fullwidth {
        width: 100%;
    }
                Code example:
    <div class="folder is-collapsed"></div>
    .folder {
        width: 100%;
        height: auto;
    }
    .folder.is-collapsed {
        height: 100px;
        overflow: hidden;
    }
                Code example:
    .slideshow {
        width: 480px;
        >.slideshow-title {
            color: @secondaryColor;
        }
        &.slideshow-fullwidth {
            width: 100%;
        }
    }
                Code example:
    .slideshow {
        width: 100%;
        @media screen and (min-width: @tabletMinSize) {
            .slideshow {
                width: 320px;
                float: left;
            }
        }
    }
                Alain Hornair / @elHornair