Run in Sublime menu Package Control: Install Package command, type Emmet and install it.
First type code in Emmet syntax, after that press Tab on your keyboard and view result.

ul.nav

li{some text}*2

ul.nav>li{some text}*2

a{link text}

a[href=#]{link text}

li>a[href=#]{link text}*3

ul.nav>li*3>a[href=#]{link text$}

.menu>ul.nav>li*3>a[href=#]{link text$}

.menu>.first+.second

.menu>.block*2

.menu>.block*2>li{some text}*2

.menu>.block*2>ul.nav>li*3>a[href=#]{link text$}

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn