Emmet 網頁開發界的超跑
在這個速度的時代,網頁也擁有非常多加速開發的工具,例如今天要介紹的這個外掛「Emmet」,他支援的開發軟體也相當多,也就是不管腳踏車、機車還是房車,都可以裝上這個超跑的引擎,廢話不多說,先讓大家知道他如何節省網頁開發的時間,如果我們在網頁上要輸入以下的HTML結構:
<div> <ul> <li><a href="#">選項1</a></li> <li><a href="#">選項2</a></li> <li><a href="#">選項3</a></li> <li><a href="#">選項4</a></li> <li><a href="#">選項5</a></li> <li><a href="#">選項6</a></li> </ul> </div>
在我們安裝好Emmet之後,僅需輸入以下的縮寫,再按下Tab鍵,即可以產生如上述般的HTML結構:
div>ul>li*6>a[#]{選項$}
仔細看看應該不難發現HTML標籤名稱的部分都在縮寫裡面,只是利用>來區隔每一層,如果要多個同樣的標籤可以用*後來輸入個數,標籤內的屬性值是利用[ ]來包住,{ }是標籤內的值。
是不是很神奇呀?趕快到Emmet的官方網頁下載或直接利用你的網頁編輯器來安裝這個外掛吧!
官方網站提到Emmet的特色有六點,分別是:
- HTML from CSS:如果你已經對CSS的選取器有概念,那就已經知道Emmet該如何去縮寫你的HTML代碼。
- Dynamic snippets:在使用縮寫的時候,只要稍微更動一些名稱,就可以得到截然不同的結果。
- Ultra-fast coding:快速的編寫模式,可以快速選取標籤、移動游標、產生上一層或下一層結構。
- Customizable:可以透過編輯JSON檔案來客製化一些程式碼。
- Platform for new tools:透過編輯開放的程式碼,可以產生新的使用模式。
- Highly portable:高度輕便可攜。
Emmet支援的網頁編輯器也非常多,如下圖所示:
Emmet 支援的網頁編輯器
快速鍵:
(快速鍵的部分有可能跟原先的編輯器或電腦的一些應用程式有衝突而無法使用)
- Tab:展開縮寫
- Ctrl+Alt+→:將游標移動到下一個可以輸入屬性或值的地方。
- Ctrl+Alt+←:將游標移動到上一個可以輸入屬性或值的地方。
- Ctrl+D:選取一整個標籤(包含標籤的起始與結束)。
- Shift+Ctrl+.:選取下一個標籤或屬性。
- Shift+Ctrl+,:選取上一個標籤或屬性。
- Ctrl+/:將選取的部分變成註解。
使用的部分功能相當多,可以參考官方網頁中的文件介紹,或是繼續閱讀馬老師針對Emmet的後續介紹。
Купить диплом о среднем полном образовании, в чем подвох и как избежать обмана?
Тут можно преобрести сейф огнестойкий огнестойкие сейфы купить
Тут можно преобрести оружейные сейфы москва сейф для карабина
купить диплом работу 1oriks-diplom199.ru .
Приобретение диплома ПТУ с сокращенной программой обучения в Москве
Реально ли приобрести диплом стоматолога? Основные этапы
Тут можно преобрести оружейные сейфы цена оружейные сейфы для ружей
Тут можно преобрести оружейный сейф на заказ москва сейф для оружия купить
Тут можно преобрести сейф огнестойкий цена сейф огнестойкий в москве
Приобретение диплома ПТУ с сокращенной программой обучения в Москве
realkeys.flybb.ru/viewtopic.php?f=1&t=657
Try Aviator—the thrilling online game where timing equals winning. Indian players love the rush of cashing out at the right moment, with the option to practice first in demo mode before taking on real money rounds.
aviator game online aviator game real money .
Тут можно преобрести сейфы для ружей сейфы под оружие
Тут можно преобрести огнестойкие сейфы купить огнеупорный сейф
Как приобрести аттестат о среднем образовании в Москве и других городах
Сервисный центр предлагает замена экрана infinix note 40 поменять дисплей infinix note 40
Покупка диплома о среднем полном образовании: как избежать мошенничества?
лучшие онлайн казино http://www.casino-bonus.by/ .
Indian gamers are flocking to Aviator for its quick play and real-time rewards. Practice in demo mode to get the feel of the game, then move to real money rounds for the ultimate rush. Cash out before it’s too late!
aviator game online aviator online game .
Сервисный центр предлагает замена объектива olympus e-pm2 ремонт корпуса olympus e-pm2
Сервисный центр предлагает переустановка системы msi cx72 замена кнопки msi cx72
A giant meteorite boiled the oceans 3.2 billion years ago. Scientists say it was a ‘fertilizer bomb’ for life
[url=https://kaissachess.ru/280524/novosti-vasilenko-roman-poslednie-novosti/]анальный секс смотреть[/url]
A massive space rock, estimated to be the size of four Mount Everests, slammed into Earth more than 3 billion years ago — and the impact could have been unexpectedly beneficial for the earliest forms of life on our planet, according to new research.
Typically, when a large space rock crashes into Earth, the impacts are associated with catastrophic devastation, as in the case of the demise of the dinosaurs 66 million years ago, when a roughly 6.2-mile-wide (10-kilometer) asteroid crashed off the coast of the Yucatan Peninsula in what’s now Mexico.
But Earth was young and a very different place when the S2 meteorite, estimated to have 50 to 200 times more mass than the dinosaur extinction-triggering Chicxulub asteroid, collided with the planet 3.26 billion years ago, according to Nadja Drabon, assistant professor of Earth and planetary sciences at Harvard University. She is also lead author of a new study describing the S2 impact and what followed in its aftermath that published Monday in the journal Proceedings of the National Academy of Sciences.
“No complex life had formed yet, and only single-celled life was present in the form of bacteria and archaea,” Drabon wrote in an email. “The oceans likely contained some life, but not as much as today in part due to a lack of nutrients. Some people even describe the Archean oceans as ‘biological deserts.’ The Archean Earth was a water world with few islands sticking out. It would have been a curious sight, as the oceans were probably green in color from iron-rich deep waters.”
When the S2 meteorite hit, global chaos ensued — but the impact also stirred up ingredients that might have enriched bacterial life, Drabon said. The new findings could change the way scientists understand how Earth and its fledgling life responded to bombardment from space rocks not long after the planet formed.
Как правильно купить диплом колледжа и пту в России, подводные камни
Growing outside of Dearborn
[url=https://kraken3yvbvzmhytnrnuhsy772i6dfobofu652e27f5hx6y5cpj7rgyd.cc]kraken darknet[/url]
During the day, Yemeni coffeehouses function similar to many neighborhood spots. Patrons host meetings, college students study and others pop in for a quick cup to-go.
https://kraken3yvbvzmhytnrnuhsy772i6dfobofu652e27f5hx6y5cpj7rgyd.cc
kraken darknet
But at night, they serve as de-facto living rooms, especially for young Muslims who don’t go to clubs and bar. From New York to Dallas, especially during the late nights of Ramadan, the crowd overflows into the street and you often have to yell to be heard inside. Some young Muslims even venture to the coffee shops in hopes of finding a life partner.
Nowhere is this coffeehouse culture more pronounced, and celebrated, than in Dearborn, Michigan, a suburb of Detroit and home to one of the largest Arab American communities in the United States.
Downtown Dearborn is peppered with different Yemeni coffee houses, which Howell said helped revitalize the Detroit area after the city became the largest municipality go to bankrupt in 2013. And it’s only growing.
“It’s become sort of contagious,” Howell said. “Several Yemeni entrepreneurs are opening coffee houses of their own, each with its own sort of style and atmosphere.”
The coffee chains have big ambitions beyond Dearborn. Qahwah House hopes to open another 20 to 30 locations in the next year, spanning across 12 states and Canada, Alhasbani said. They are also licensed out, but Alhasbani says he sets a high standard before agreeing to let anyone open a shop.
“We have too many people that come (asking me) they want to open. I have more than 10 different requests a day just to open this kind of business,” he said. “We don’t give anyone license until we make sure the person has the love for the brand and his mind and his heart in the Qahwah House.”
Another authentic Yemeni coffee chain, Haraz, also sees crowds of people throughout the day and night. They opened their first location in New York City last week — less than half a mile away from Qahwah House’s downtown Manhattan shop — and the franchisees plan to grow.
Тут можно преобрести сейф огнеупорный купить купить огнестойкий сейф в москве
вывод из запоя на дому ростов на дону вывод из запоя на дому ростов на дону .
Тут можно преобрести сейф противопожарный сейф несгораемый
вывод из запоя на дому ростов круглосуточно http://mediaworld.ukrbb.net/viewtopic.php?f=49&t=5433 .
онлайн казино беларусь онлайн казино беларусь .
вывод из запоя дешево ростов вывод из запоя дешево ростов .
We recommend exploring the best quotes collections: Lost Love Quotes From Great People