Skip to content

Commit d0fb7dc

Browse files
committed
Update
1 parent 189a16d commit d0fb7dc

File tree

5 files changed

+36
-0
lines changed

5 files changed

+36
-0
lines changed

custom/box-model/index.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Box model</title>
8+
<link rel="stylesheet" href="style.css">
9+
</head>
10+
<body>
11+
<div class="box">
12+
This is box content
13+
</div>
14+
<a href="#">Lorem ipsum dolor sit.</a>
15+
<a href="#">Totam, fugit nam! Ab.</a>
16+
<a href="#">Amet accusamus odit mollitia!</a>
17+
<a href="#">Ab cum dicta quas!</a>
18+
<img class="post-img" src="https://i.pinimg.com/564x/f5/c7/54/f5c7545c8ab6df2ddb305523705001e4.jpg" alt="adventure-characters">
19+
</body>
20+
</html>

custom/box-model/style.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.box {
2+
border: 2px solid black;
3+
padding: 1em 2em;
4+
background-color: red;
5+
}
6+
7+
.post-img {
8+
width: 300px;
9+
margin: 50px;
10+
}
11+
12+
a:link {
13+
padding: 20px;
14+
background-color: aquamarine;
15+
display: inline-block;
16+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)