当前位置:网站首页>Emmet syntax
Emmet syntax
2022-07-29 09:00:00 【bin elf】
Emmet: It's actually an editor plug-in .dreamweaver Bring this plug-in
First step : newly build


Choose a save path
ctrl+s

Realization effect 
Delete the code framework and use ---emmet Grammar is common
html:5
Realization effect

Then you can change the title document (title)

After that body It can be used internally emmet Syntax creation html The grammatical framework of ( All need buttons TAB Key generation )
div label identification class
div.container 
Realization effect

# identification id attribute
div#container
Realization effect

Context ;
>: Represents a subclass selector
.: Means directly with class Class occurrence And no label is specified. The default is div label
ul: label
list: attribute
div. ul There is no label specified in it. The default is li label
( think ul and li Is a pair of default combinations )
.wrap>ul.list>.sites 
Context ;
>: Represents a subclass selector
.: Means directly with class Class occurrence
ul: label
list: attribute
+: It means brother label
.:div label
.wrap>ul.list+.sitesRealization effect

^: Represents the parent element , And represents the superior element
In this case site Of div Labels and wrap Of div At the same level
.wrap>ul.list^.sitesRealization effect

Express div div ht p Juxtaposition
> Represents the parent container
h1 Indicates the first level title
p label
.outer>.inner>h1+pRealization effect :

div.wrap ->p
->a
->p( Represents the parent element a A higher level of )
.wrap>p>a^p
div.wrap
->p
->em
->a
->p(a The parent of the parent )
.wrap>p>em>a^^p
(.one>h1)+(.two>h1)html Of () Representation grouping
grouping : It is to regard it as a whole
+: It means juxtaposition
(div:one
->h1) To represent a whole
div:two
->h1
(section>.wrap>h1>p>a)+(section>.wrap>p+p)section
->:div.wrap
->h1
->p
->a
section
->div.wrap
->p
->p
Insert the attribute of the text inside the label
Use {} To insert
h1{This is heading1}+p{lorem}
Add the class (class) Properties of ; If the label has multiple class Properties can be used
No label specified : by div
.one.two.three
*: It means multiplicity
ul label
->li label
Juxtaposition 3 individual
ul>li*3
(section>.wrap)*3section
->div:wrap
section
->div:wrap
section
->div:wrap
Automatic counting :
$ Symbolic representation
$$:01 02 03
ul>li.item${item$$}*3ul
->li: attribute item1( The first one means 1 For after 2) written words item01
ul
->li: attribute item2 item02
ul
->li: attribute item3 item03
边栏推荐
- C language macro define command exercise
- Leetcode: interview question 08.14. Boolean operation
- 正则表达式校验版本号
- Intel将逐步结束Optane存储业务 未来不再开发新产品
- (Video + graphic) introduction series to machine learning - Chapter 2 linear regression
- ML.NET相关资源整理
- Multiple knapsack, simplicity and binary optimization
- 预训练模型与传统方法在排序上有啥不同?
- 2022 P cylinder filling test simulation 100 questions simulation test platform operation
- Arfoundation starts from scratch 5-ar image tracking
猜你喜欢

WQS binary learning notes

6.3 references

2022 question bank and answers of operation certificate examination for main principals of hazardous chemical business units

Mathematical modeling clustering

User identity identification and account system practice

SAP sm30 brings out description or custom logical relationship

Mathematical modeling - Differential Equations

LeetCode刷题(6)

预训练模型与传统方法在排序上有啥不同?

Clickhouse learning (III) table engine
随机推荐
No duplicate data in the same field of different databases
2022年P气瓶充装考试模拟100题模拟考试平台操作
Osgsimplegl3 combined with renderdoc tool
Squareline partners with visual GUI development of oneos graphical components
LeetCode力扣题目总结(题目编号:53、3、141、面试题022、剑指offer链表中环的入口节点、20、19、牛客NC1、103、1143、牛客127)
数据表示与计算(进制)
Error reporting when adding fields to sap se11 transparent table: structural changes at the field level (conversion table xxxxx)
Information system project manager must recite the quality grade of the core examination site (53)
What are the backup and recovery methods of gbase 8s database
完全背包问题 从朴素到终极
多标签用户画像分析跑得快的关键在哪里?
Excellent Allegro skill recommendation
6.2 function-parameters
Amazfit dial Kit
AI is at the forefront | focusing on natural language processing, machine learning and other fields; From Fudan University, Institute of automation, Chinese Academy of Sciences and other teams
01 knapsack about from two-dimensional optimization to one-dimensional optimization
ERROR 1045 (28000): Access denied for user ‘ODBC‘@‘localhost‘ (using password: NO)
Osg3.6.5 failed to compile freetype
SAP ooalv-sd module actual development case (add, delete, modify and check)
Leetcode question brushing (6)