Skip to content

Instantly share code, notes, and snippets.

@aliencode
Last active August 29, 2015 14:04
Show Gist options
  • Save aliencode/e4d481ebb44d353eb715 to your computer and use it in GitHub Desktop.
Save aliencode/e4d481ebb44d353eb715 to your computer and use it in GitHub Desktop.
zen-coding
div.container>p+table>tr[data-scroll-reveal='enter bottom']*30>td*10>{item$$}

生成:

    <div class="container">
        <p></p>
        <table>
            <tr data-scroll-reveal="enter bottom">
                <td>item01</td>
                <td>item02</td>
            </tr>
            <tr data-scroll-reveal="enter bottom">
                <td>item01</td>
                <td>item02</td>
            </tr>
            <tr data-scroll-reveal="enter bottom">
                <td>item01</td>
                <td>item02</td>
            </tr>
        </table>
    </div>

https://code.google.com/p/zen-coding/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment