-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbox-model-lec.html
More file actions
32 lines (27 loc) · 1.41 KB
/
box-model-lec.html
File metadata and controls
32 lines (27 loc) · 1.41 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="css/box-model-lec.css">
</head>
<body>
<div id="one">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab delectus hic laborum recusandae? Deserunt dolor error harum hic incidunt neque nostrum quae, vero. Accusantium dignissimos, dolor doloremque ea iusto nostrum?</div>
<div id="two">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab delectus hic laborum recusandae? Deserunt dolor error harum hic incidunt neque nostrum quae, vero. Accusantium dignissimos, dolor doloremque ea iusto nostrum?</div>
<div id="three">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab delectus hic laborum recusandae? Deserunt dolor error harum hic incidunt neque nostrum quae, vero. Accusantium dignissimos, dolor doloremque ea iusto nostrum?</div>
<h1>Hello!</h1>
<button>Click</button>
<!--practice
give the element some space in-between
make the button similar size to the h1 element
make the "click" content of the button centered
make the background of the button green-->
<div></div>
<div class="box"><p>This is a box.</p>
<span>Here is some text in a span.</span>
</div>
</body>
</html>