-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlayout.html
77 lines (72 loc) · 2.23 KB
/
layout.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
<style></style>
</head>
<body>
<!-- <div style="width: 500px; height: 100vh;">
<div style="background-color: red; height: 50%;">
Hello
</div>
<div style="background-color: blue; height: 50%;">
Hello Juga
</div>
</div> -->
<!-- Class -->
<!-- Memberikan styling kepada komponen di dalam sebuah html -->
<!-- Sekelompok property css -->
<!-- <button class="custom-btn tomato">
Click Me!
</button>
<button class="custom-btn teal">
Other Button
</button> -->
<!-- <button id="idButton">
ID Button
</button> -->
<!-- Div -->
<div>
<!-- <div class="header">
<div class="header-title">
Header
</div>
</div>
<div class="content-container center">
<div>Content 1</div>
<div>Content 2</div>
<div>Content 3</div>
</div>
<div class="content-container space-between">
<div>Content 1</div>
<div>Content 2</div>
<div>Content 3</div>
</div>
<div class="content-container space-around">
<div>Content 1</div>
<div>Content 2</div>
<div>Content 3</div>
</div>
<div class="content-container space-evenly">
<div>Content 1</div>
<div>Content 2</div>
<div>Content 3</div>
</div> -->
<!-- Flexbox -->
<!-- Container diberikan property display: flex -->
<!-- Justify Content -->
<!-- Layout item di dalam container secara horizontal -->
<!-- Align Items -->
<!-- Layout item di dalam container secara vertical -->
<!-- <div class="content-container space-around">
<div class="square red" style="height: 300px;"></div>
<div class="square teal"></div>
<div class="square tomato" style="height: 500px;"></div>
</div> -->
<!-- Media Query (Responsive) -->
</div>
</body>
</html>