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

 

相关文章:

  • 2021-04-26
  • 2021-05-31
  • 2021-09-21
  • 2022-01-04
  • 2021-07-10
  • 2021-10-06
  • 2021-11-12
  • 2022-12-23
猜你喜欢
  • 2022-01-10
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2019-12-14
相关资源
相似解决方案