Skip to content

Commit 6d57de6

Browse files
committed
Video 23 Completed
1 parent 03ec5ac commit 6d57de6

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

Video 23/index.html

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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>CSS Display Property</title>
8+
<style>
9+
*{
10+
margin: 0;
11+
padding: 0;
12+
}
13+
.box {
14+
border: 2px solid blue;
15+
display: inline-block;
16+
width: 344px;
17+
padding:45px;
18+
margin: 34px;
19+
}
20+
21+
.box1{
22+
/* display: none; */
23+
/* visibility: hidden; */
24+
}
25+
</style>
26+
</head>
27+
28+
<body>
29+
<!-- https://developer.mozilla.org/en-US/docs/Web/CSS/display -->
30+
<div class="box box1">
31+
I am a box
32+
</div>
33+
<div class="box">also a nice box</div>
34+
35+
<span>I am a good</span>
36+
<span>boy</span>
37+
</body>
38+
39+
</html>

0 commit comments

Comments
 (0)