Type your emmet scripts then hit tab to execute them.
Nesting
place element inside previous element
- place element along side previous element
grouping
will output this:
1
2
3
4
5
6
| <div class="foo">
<h1></h1>
</div>
<div class="bar">
<h2></h2>
</div>
|
multiply
1
2
3
4
5
| <ul>
<li></li>
<li></li>
<li></li>
</ul>
|
Numbering
1
2
3
4
5
| <ul>
<li class="item1"></li>
<li class="item2"></li>
<li class="item3"></li>
</ul>
|
li for ul and ol tr for table, tbody, thead and tfoot td for tr option for select and optgroup
css
will generate:
will generate:
1
2
| height: 10%;
margin: 5em;
|
will generate:
1
2
3
4
| @font-face {
font-family:;
src:url();
}
|
will generate:
prefixes
will generate:
1
2
3
4
5
| -webkit-super-foo: ;
-moz-super-foo: ;
-ms-super-foo: ;
-o-super-foo: ;
super-foo: ;
|
gradients
1
| lg(left, #fff 50%, #000)
|
will generate:
1
2
3
4
5
| background-image: -webkit-gradient(linear, 0 0, 100% 0, color-stop(0.5, #fff), to(#000));
background-image: -webkit-linear-gradient(left, #fff 50%, #000);
background-image: -moz-linear-gradient(left, #fff 50%, #000);
background-image: -o-linear-gradient(left, #fff 50%, #000);
background-image: linear-gradient(left, #fff 50%, #000);
|
lorum ipsum
will generate:
1
2
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Libero delectus.
|
1
| p*3>lorem5 will generate
|
1
2
3
| <p>Lorem ipsum dolor sit amet.</p>
<p>Voluptates esse aliquam asperiores sunt.</p>
<p>Fugiat eaque laudantium explicabo omnis!</p>
|