-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
68 lines (56 loc) · 992 Bytes
/
styles.css
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
/* สิ่งที่อยู่ตรงนี้ จะมีไว้แค่ให้ dev อ่าน */
/* 1. แต่งใคร ? (id, class, DOM) 2. แต่งอะไร ? */
@font-face {
font-family: 'kanit';
src: url('./Kanit/Kanit-Regular.ttf');
}
body {
font-family: 'kanit';
}
.container {
width: 100%;
max-width: 640px;
margin-left: auto;
margin-right: auto;
background-color: azure;
padding: 20px;
box-sizing: border-box;
}
.header {
font-size: 30px;
text-align: center;
}
.header-form {
width: 140px;
}
.flex {
display: flex;
}
.form-input {
margin-bottom: 10px;
}
.center {
text-align: center;
}
input.form, textarea {
border: 1px gainsboro solid;
width: 100%;
}
.button {
border: 0;
width: 50%;
height: 40px;
background-color: #2962FF;
color: white;
}
@media screen and (max-width: 768px) {
.flex {
flex-direction: column;
}
.header {
font-size: 24px;
}
.button {
width: 100%;
}
}