forked from learning-zone/css-basics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathboxmodel-index.html
49 lines (49 loc) · 1.53 KB
/
boxmodel-index.html
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
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html lang="en">
<head>
<title>CSS Box Model</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style type="text/css">
body{
font-size: 18px;
}
a, a:link, a:hover, a:active {
color:inherit;
text-decoration:none;
cursor:pointer;
}
</style>
</head>
<body>
<div class="container">
<h2>CSS Box Model</h2>
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>Attributes</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code><a href="boxmodel.html" data-toggle="modal" data-target="#boxmodel">Box-Model</a></code></td>
<td><p><code>Content</code> - The content of the box, where text and images appear</p>
<p><code>Padding</code> - Clears an area around the content.</p>
<p><code>Border</code> - A border that goes around the padding </p>
<p><code>Margin</code> - Clears an area outside the border.</p>
</td>
</tr>
</tbody>
</table>
<div id="boxmodel" class="modal fade text-center">
<div class="modal-dialog">
<div class="modal-content">
</div>
</div>
</div>
</body>
</html>