-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
59 lines (51 loc) · 1.05 KB
/
Copy pathstyles.css
File metadata and controls
59 lines (51 loc) · 1.05 KB
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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: yellowgreen;
display: flex; /* Flexbox 사용 */
justify-content: center; /* 가로 방향 중앙 정렬 */
align-items: center; /* 세로 방향 중앙 정렬 */
height: 100vh; /* 전체 화면 높이에 맞춤 */
}
.container {
max-width: 400px;
width: 100%; /* 반응형 디자인을 위한 100% 너비 */
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
h2 {
text-align: center;
}
label {
display: block;
margin: 10px 0 5px;
}
input {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
}
button {
width: 100%;
padding: 10px;
background-color: #5cb85c;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #4cae4c;
}
/* 가운데 정렬을 위한 CSS 추가 */
.center {
text-align: center;
}
footer {
height: 50;
}