快捷搜索: 王者荣耀 脱发

vs code一键生成多行相同代码以及各种快捷键

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
     
    </style>
</head>
<body> 
    <!-- 
        快捷,直接打出代码
     -->
    <!-- 
     1:   ul>li
     -->
    <ul>
       <li></li>
   </ul>

     <!-- 
        2:ul.demo
      -->
      <ul class="demo"></ul>

      <!-- 
        3:ul.demo#only
       -->
       <ul class="demo" id="only"></ul>

       <!-- 
        4:ul.demo#demo>p[style="background-color:red;width:100px;height:100px"]*3
        -->
      <ul class="demo" id="demo">
        <p style="background-color:red;width:100px;height:100px"></p>
        <p style="background-color:red;width:100px;height:100px"></p>
        <p style="background-color:red;width:100px;height:100px"></p>
      </ul>
    
    <script> 
    </script>
</body>
</html>

兄弟标签:

经验分享 程序员 微信小程序 职场和发展