当前位置:网站首页>Emmet syntax
Emmet syntax
2022-07-31 15:21:00 【ximingx】
>
(子代)和+
(兄弟)
<!--div>ul>li-->
<div>
<ul>
<li></li>
</ul>
</div>
<!--div+div>p>span+i-->
<div></div>
<div>
<p><span></span><i></i></p>
</div>
*
(多个)和^
(上一级)
<!--ul>li*5-->
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<!--div+div>span^^h1-->
<div></div>
<div><span></span></div>
<h1></h1>
()
(分组)
<!--div>(header>ul>li*3)+footer-->
<div>
<header>
<ul>
<li></li>
<li></li>
<li></li>
</ul>
</header>
<footer></footer>
</div>
属性
(id属性、class属性、普通属性){}
(内容)
<!--div#header+div#main>.container>a[href]-->
<div id="header"></div>
<div id="main">
<div class="container"><a href=""></a></div>
</div>
<!--a[href="http://127.0.0.1"]{content}-->
<a href="http://127.0.0.1">content</a>
$
(数字)
<!--ul>li.item$5{$}*5-->
<ul>
<li class="item15">1</li>
<li class="item25">2</li>
<li class="item35">3</li>
<li class="item45">4</li>
<li class="item55">5</li>
</ul>
边栏推荐
- 11 pinia使用
- ES6 类
- Linux查看redis版本(查看mongodb版本)
- Codeforces Round #796 (Div. 2) (A-D)
- Efficient use of RecyclerView Section 1
- Ubantu project 4: xshell, XFTP connected the virtual machine and set xshell copy and paste the shortcut
- 763.划分字母区间——之打开新世界
- R language ggplot2 visualization: use the ggboxplot function of the ggpubr package to visualize the box plot, use the font function to customize the font size, color, style (bold, italic) of the legen
- Unity中实现点选RenderTexture中的3D模型
- JVM参数解析 Xmx、Xms、Xmn、NewRatio、SurvivorRatio、PermSize、PrintGC「建议收藏」
猜你喜欢
随机推荐
mysql黑窗口~建库建表
[CUDA study notes] First acquaintance with CUDA
自适应控制——仿真实验二 用Narendra方案设计模型参考自适应系统
NC | 斯坦福申小涛等开发数据可重复分析计算框架TidyMass
修改SQL语言实现Mysql 多表关联查询优化
STM32(十)------- SPI通信
SQL、HQL、JPQL 到底有什么区别
OpenCV测量物体的尺寸技能 get~
TRACE32 - Common Operations
更新数据表update
Grafana安装后web打开报错
基于最小二乘法和SVM从天气预报中预测太阳能发电量(Matlab代码实现)
org.apache.jasperException(could not initialize class org)
abaqus find contact pairs报错:surface name is already in use
R语言ggplot2可视化:使用ggpubr包的ggmaplot函数可视化MA图(MA-plot)、font.legend参数和font.main参数设置标题和图例字体加粗
定时器的类型
Codeforces Round #796 (Div. 2)(A-D)
Excel quickly aligns the middle name of the table (two-word name and three-word name alignment)
leetcode303场周赛复盘
ASP.NET Core 产生连续 Guid