We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f8aaae commit 0d76ef2Copy full SHA for 0d76ef2
2 files changed
.effect-pictures/em在是非font-size属性中.png
CSS/test/em.html
@@ -0,0 +1,18 @@
1
+<!DOCTYPE html>
2
+<html lang="en">
3
+
4
+<head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Document</title>
8
+</head>
9
10
+<body>
11
+ <div class="container" style="font-size: 20px;">
12
+ <div style="font-size: 1em;">ceilf6</div>
13
+ <div style="font-size: 2em; margin-top: 2em;">so handsome</div>
14
+ 是 font-size 相对父元素字体大小,非font-size 属性相对当前自身元素字体大小
15
+ </div>
16
+</body>
17
18
+</html>
0 commit comments