emmet

作者: 43daf5f8181f | 来源:发表于2016-11-10 16:15 被阅读11次

    Abbreviations Syntax


    Elements

    You can use elements’ names like div or p to generate HTML tags. Emmet doesn’t have a predefined set of available tag names, you can write any word and transform it into a tag: div<div></div>, hello<hello></hello> and so on.

    Nesting operators

    • Child: >
      div>ul>li
    • Sibling: +
      div+p+bq
    • Climb-up: ^
      div+div>p>span+em
    • Multiplication: *
    • Grouping: ()
      div>(header>ul>li*2>a)+footer>p

    Attribute operators

    相关文章

      网友评论

          本文标题:emmet

          本文链接:https://www.haomeiwen.com/subject/fldxpttx.html