emmet完整收录(html,css)

emmet官网

https://emmet.io/

 

语法篇


Child: >

nav>ul>li
<nav>
    <ul>
        <li></li>
    </ul>
</nav>

 

 


HTML

All unknown abbreviations will be transformed to tag, e.g. foo → <foo></foo>.

!

Alias of html:5

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <title>Document</title>
</head>
<body>
    
</body>
</html>

 


CSS

CSS module uses fuzzy search to find unknown abbreviations, e.g. ov:h == ov-h == ovh == oh.

If abbreviation wasn’t found, it is transformed into property name: foo-bar → foo-bar: |;

You can prefix abbreviations with hyphen to produce vendor-prefixed properties: -foo

 

posted @ 2018-05-24 15:16  MJay_Lee  阅读(564)  评论(0编辑  收藏  举报