Skip to content

Commit 819511e

Browse files
simplifying ems rems example
1 parent 046991a commit 819511e

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

learn/values-units/em-rem.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,12 @@
1111
</style>
1212

1313
<style class="editable">
14-
html {
15-
font-size: 0.8em;
16-
}
17-
1814
.ems li {
19-
font-size: 1.5em;
15+
font-size: 1.3em;
2016
}
2117

2218
.rems li {
23-
font-size: 1.5rem;
19+
font-size: 1.3rem;
2420
}
2521
</style>
2622
</head>
@@ -63,16 +59,12 @@
6359
</section>
6460

6561
<textarea class="playable playable-css" style="height: 280px;">
66-
html {
67-
font-size: .8em;
68-
}
69-
7062
.ems li {
71-
font-size: 1.5em;
63+
font-size: 1.3em;
7264
}
7365

7466
.rems li {
75-
font-size: 1.5rem;
67+
font-size: 1.3rem;
7668
}
7769

7870

@@ -92,7 +84,7 @@
9284
</li>
9385
</ul>
9486
</li>
95-
</ul>
87+
</ul>
9688

9789
<ul class="rems">
9890
<li>One</li>

0 commit comments

Comments
 (0)