-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path32_units.html
More file actions
40 lines (34 loc) · 1 KB
/
32_units.html
File metadata and controls
40 lines (34 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Units in CSS</title>
<link rel="stylesheet" href="style/style32.css">
</head>
<body>
<!-- <h2>Absolute unit</h2>
<p id="p1">Hello CSS p1</p>
<p id="p2">Hello CSS p2</p>
<p id="p3">Hello CSS p3</p>
<p id="p4">Hello CSS p4</p>
<p id="p5">Hello CSS p5</p>
<p id="p6">Hello CSS p6</p>
<p id="p7">Hello CSS p7</p><br><br> -->
<h2>Relative unit</h2>
<!-- <div class="parent-box">
<p>I am inside parent box</p>
<div class="child-box">
<p>I am inside child box</p>
<div class="grand-child">
<p>I am inside grand child box</p>
</div>
</div>
</div> -->
<!-- shyam
<p>Hello shyam</p>
<p id="s1">Hello shyam</p> -->
<!-- <div class="box"></div> -->
<div class="box1">fghjik</div>
</body>
</html>