-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path7_Size.html
29 lines (28 loc) · 1.32 KB
/
7_Size.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Size</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous"></script>
</head>
<body>
<div class="container">
<!-- Width -->
<div class="bg-danger w-25">Width 25%</div>
<div class="bg-danger w-50">Width 50%</div>
<div class="bg-danger w-75">Width 75%</div>
<div class="bg-danger w-100">Width 100%</div>
<div class="bg-danger w-auto">Width Auto</div>
<!-- Height -->
<div style="height: 300px;">
<div class="bg-primary my-3 h-25">Height 25%</div>
<div class="bg-primary my-3 h-50">Height 50%</div>
<div class="bg-primary my-3 h-75">Height 75%</div>
<div class="bg-primary my-3 h-100">Height 100%</div>
<div class="bg-primary my-3 h-auto">Height Auto</div>
</div>
</div>
</body>
</html>