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>
Прошу обратить внимание на обман застройщика Паритет Девелопмент, который обманом продает свои квартиры, вы не получите ровным счетом ничего обещанного их отделом продаж. Посмотрите отзывы реальных покупателей их ЖК Резиденция лайф обещали бизнес класс и есть куча брошюр, буклетов, а на самом деле это ЖК эконом класса. Если есть альтернатива рассмотрите ее! @dontcheatpeople – телеграмм.
nitric boost ultra
Your creativity is on the next level. You consistently push boundaries and think outside the box, producing innovative ideas that leave others in awe. Your unique perspective and ability to transform concepts into reality set you apart. It’s inspiring to witness your creative process and the remarkable results it yields.
Профессиональный сервисный центр по ремонту духовых шкафов в Москве.
Мы предлагаем: ремонт дверцы духовки
Наши мастера оперативно устранят неисправности вашего устройства в сервисе или с выездом на дом!
How come your every post is so perfect! You have an uncanny ability to capture and share moments that resonate deeply with your audience. Your eye for aesthetics, coupled with your knack for storytelling, creates a feed that’s both visually stunning and emotionally engaging. Each post feels carefully curated, yet authentically you.
медицинский институт в москве купить диплом landik-diploms.ru .
Good site you’ve got here.. It’s difficult to find excellent writing like yours nowadays. I truly appreciate individuals like you! Take care!!
сколько стоит дипломная работа landik-diploms.ru .
Its like you read my mind! You appear to know a lot about this, like
you wrote the book in it or something. I think that you
can do with some pics to drive the message home
a little bit, but other than that, this is great blog. An excellent read.
I will certainly be back.
my site; nitric boost ultra powder walgreens
purchase stromectol online: stromectol shop – minocycline 50mg tabs
Официальная покупка диплома вуза с упрощенной программой обучения
https://stromectol1st.shop/# order stromectol online
errectile disfunction
hellow all https://nspddfgstmdbkl1034.ru/
Сервисный центр предлагает ремонт варочных панелей gorenje на дому качественый ремонт варочной панели gorenje
средняя цена диплома средняя цена диплома .
This is a good tip particularly to those fresh to the blogosphere. Brief but very accurate info… Many thanks for sharing this one. A must read post.
rybelsus price: rybelsus – semaglutide
Как не стать жертвой мошенников при покупке диплома о среднем полном образовании
Можно ли купить аттестат о среднем образовании? Основные рекомендации
minimoo.eu/index.php/en/forum/welcome-mat/680471
Excellent article! We will be linking to this great article on our website. Keep up the good writing.
instagram story viewer instagram story viewer .
Вопросы и ответы: можно ли быстро купить диплом старого образца?
medrese1000-letie.ru/auth/?register=yes
iki üçün seks
I couldn’t refrain from commenting. Exceptionally well written.
Отличный сайт! Всем рекомендую!футболки с логотипом на заказ в Москве
Официальная покупка диплома вуза с сокращенной программой в Москве
Как безопасно купить диплом колледжа или ПТУ в России, что важно знать
view instagram followers https://anonimstoriesview.com .
вывод из запоя в наркологическом стационаре http://www.vyvod-iz-zapoya-sochi17.ru .
view and download instagram stories view and download instagram stories .