Exploring and Thinking

Emmet 快速筆記

句法說明:Abbreviations Syntax
詳細句法:Syntax

# id
. class

jQuery Mobile List
Short
ul[data-role="listview"]>li*3>a[]>h2{Headline $}+p>Lorem5
Produce
<ul data-role="listview">
 <li><a href="">
   <h2>Headline 1</h2>
   <p>Lorem ipsum dolor sit amet.</p>
  </a></li>
 <li><a href="">
   <h2>Headline 2</h2>
   <p>Cum, nulla, omnis! Quidem, eaque.</p>
  </a></li>
 <li><a href="">
   <h2>Headline 3</h2>
   <p>Facilis eius ratione alias asperiores.</p>
  </a></li>
</ul>
Share:

熱門文章