emmet完整收录(html,css)

从零学习前端开发 2018-05-24

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-barfoo-bar: |;

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

相关推荐

nicepainkiller / 0评论 2014-07-28