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