New blog domain: kula.blog

It's still work in progress but new posts will be published on  https://kula.blog/ Thanks to 11ty base blog RSS is working from the start so it should be easy to add to your reader if you still use any :) If now then I hope you can sign up to the newsletter where I'll be publishing new posts and interesting articles to it from time to time. Please use  kula.blog  from now on.

Emmet - Meet better ZenCoding

Recently new version of ZenCoding named Emmet came out of beta: http://docs.emmet.io/



Emmet came out with support for many popular IDE's and editors. For me in SublimeText2 is only a matter of installing a Emmet package with PackageControl.

If you know ZenCoding most of your workflow will be the same eg:

ul#nav>li.item$*4>a{Item $}

with Tab will create:

        <ul id="nav">
            <li class="item1"><a href="">Item 1</a></li>
            <li class="item2"><a href="">Item 2</a></li>
            <li class="item3"><a href="">Item 3</a></li>
            <li class="item4"><a href="">Item 4</a></li>
        </ul>

New thing are abbreviations for CSS and Actions, fortunately there is cheat-sheet at docs page: http://docs.emmet.io/cheat-sheet/

Example of CSS:
bd     is translated to: border:|;

So it can save you some typing, but adding all of your typing together (whole month of typing of css) this can mean real improvement and productivity gain.







Comments

Popular posts from this blog

How to use NPM packages from private repositories on bitbucket

How to simulate slow connection (developer proxy in Node.js)