从零学习前端开发 2018-05-24
emmet官网
https://emmet.io/
语法篇
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