Emmet 介紹 – 縮寫篇
縮寫這樣的編輯方式是Emmet的核心功能,可以在輸入簡短的代碼後轉換成結構複雜的HTML,而且使用方式跟使用CSS的選取器雷同,所以非常易於使用。例如:
page>div.logo+ul#navigation>li*5>a{Item $} ------ <div id="page"> <div class="logo"></div> <ul id="navigation"> <li><a href="">Item 1</a></li> <li><a href="">Item 2</a></li> <li><a href="">Item 3</a></li> <li><a href="">Item 4</a></li> <li><a href="">Item 5</a></li> </ul> </div>
以下分別介紹各種不同的縮寫撰寫模式
子結構:>
div>ul>li ------ <div> <ul> <li></li> </ul> </div>
同層結構:+
div+p+bq ------ <div></div> <p></p> <blockquote></blockquote>
上一層:^
div+div>p>span+em^bq ------ <div></div> <div> <p><span></span><em></em></p> <blockquote></blockquote> </div>
div+div>p>span+em^^^bq ------ <div></div> <div> <p><span></span><em></em></p> </div> <blockquote></blockquote>
乘法:*
ul>li*5 ------ <ul> <li></li> <li></li> <li></li> <li></li> <li></li> </ul>
分組:( )
div>(header>ul>li*2>a)+footer>p ------ <div> <header> <ul> <li><a href=""></a></li> <li><a href=""></a></li> </ul> </header> <footer> <p></p> </footer> </div>
(div>dl>(dt+dd)*3)+footer>p ------ <div> <dl> <dt></dt> <dd></dd> <dt></dt> <dd></dd> <dt></dt> <dd></dd> </dl> </div> <footer> <p></p> </footer>
項目編號:$
ul>li.item$*5 ------ <ul> <li class="item1"></li> <li class="item2"></li> <li class="item3"></li> <li class="item4"></li> <li class="item5"></li> </ul>
ul>li.item$$*5 ------ <ul> <li class="item001"></li> <li class="item002"></li> <li class="item003"></li> <li class="item004"></li> <li class="item005"></li> </ul>
ul>li.item$@-*5 ------ <ul> <li class="item5"></li> <li class="item4"></li> <li class="item3"></li> <li class="item2"></li> <li class="item1"></li> </ul>
ul>li.item$@3*5 ------ <ul> <li class="item3"></li> <li class="item4"></li> <li class="item5"></li> <li class="item6"></li> <li class="item7"></li> </ul>
ul>li.item$@-3*5 ------ <ul> <li class="item7"></li> <li class="item6"></li> <li class="item5"></li> <li class="item4"></li> <li class="item3"></li> </ul>
內容:{ }
a{Click me} ------ <a href="">Click me</a>
p>{Click }+a{here}+{ to continue} ------ <p>Click <a href="">here</a> to continue</p>
ID and Class
div#header+div.page+div#footer.class1.class2.class3 ------ <div id="header"></div> <div class="page"></div> <div id="footer" class="class1 class2 class3"></div>
自訂屬性
td[title="Hello world!" colspan=3] ------ <td title="Hello world!" colspan="3"></td>
ferchry fc663c373e https://tocratonm1zm.wixsite.com/perlongsagqui/post/theta-uvc-blender-1-0-4-crack-free
benjlea fc663c373e https://docs.google.com/viewerng/viewer?url=poetbook.com/upload/files/2022/05/SLrtx2QAeeBePGeIXqyK_13_d41e87a4f6c3392e80ffc2a333d15caf_file.pdf
halhard fc663c373e https://denogmuttlangrali.wixsite.com/dioprosalun/post/shoqbox-buddy-crack-free
talacha fc663c373e https://achamthopudo.wixsite.com/jangnestafor/post/galaxkey-crack-free
top rated ed pills best pills for ed best medication for ed
vercher 244d8e59c3 https://wakelet.com/wake/0fB5L_9IpTS2gJq3ufSGp
propesia buy propecia canada finasteride online
unitgal 244d8e59c3 https://public.flourish.studio/story/1509494/
jespea 244d8e59c3 https://pengrantilazbertbe.wixsite.com/erenbera/post/fix-skype-crack-activation-download
hamthe 244d8e59c3 https://wakelet.com/wake/MB298JqoZmFf1Zpi6HQrO
wriulr 244d8e59c3 https://raverootthistzab.wixsite.com/foremery/post/retriever-4-1-0-crack-free-download-for-pc
quargab 244d8e59c3 https://wakelet.com/wake/GOULnpnEs8ugrTSJbBMt1
neygen 244d8e59c3 https://wakelet.com/wake/GIK0K0piurqK0JXK5AgN9
bertlat 244d8e59c3 https://wakelet.com/wake/G99O1QnrbbH6ZCycfpZjH
amoxicillin without a doctor’s prescription comfortis for dogs without vet prescription ed meds online without doctor prescription
ivermectin 2ml ivermectin 1.87 dosage for cats how much is ivermectin for humans
bickvann f1579aacf4 https://www.guilded.gg/opgrosapges-Broncos/overview/news/vR1qeMDR
ngugot f1579aacf4 https://seesaawiki.jp/eramabol/d/EuroCent%20Disk%20Recovery%20Pro%20%20Crack%20%20%20Download%20X64%20%5bUpdated%5d%202022
cecblad 5052189a2a https://wakelet.com/wake/diFcuGlhaZQDEQ60t-gjl
jannxev 5052189a2a https://public.flourish.studio/story/1372486/
pryodis 5052189a2a https://www.guilded.gg/campleversis-Flyers/overview/news/7R0PLpWR
kasiwen 5052189a2a https://docs.google.com/viewerng/viewer?url=flagonsworkshop.net/upload/files/2022/05/gqAswSgs5DodZORtUUYc_04_26809cc59d47be96787d148cc1c1c2d7_file.pdf
calwell 5052189a2a https://wakelet.com/wake/6nvdrTV623tojdTefMOzd
dariikes 5052189a2a https://wakelet.com/wake/feSWTy00WAHAppxYGsQIh
zantmar 5052189a2a https://patriabookspace.FRA1.digitaloceanspaces.com/upload/files/2022/05/W2JpNc8vYfqnAQa6JRk8_05_749b6361177df01da63127ae66b78cba_file.pdf
wesferr 5052189a2a https://wakelet.com/wake/n-Xv3xo6KbfBYaBv5Yx_Q
whaquy 5052189a2a https://wakelet.com/wake/O-Uq_qFbxXXm2Hq6MfDdJ
lytstey 5052189a2a https://wakelet.com/wake/hmqdI4E1HxXuhdNe4EqUG
comfortis without vet prescription best online pharmacy hims ed pills
kaabook 5052189a2a https://public.flourish.studio/story/1367407/