-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
50 lines (50 loc) · 1.15 KB
/
index.css
File metadata and controls
50 lines (50 loc) · 1.15 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 24px;
height: 100vh; /** 높이 전체 차지 하기 **/
display: flex;
justify-content: center;
align-items: center;
}
.container {
width: 350px;
padding: 30px;
border-radius: 7px;
background-color: rgb(5, 4, 4);
color: white; /** 글자색 바꾸기 **/
border: 5px solid darkgray; /** 계산기 끝에 선 넣기 **/
box-shadow: 5px 7px 20px rgb(0, 0, 0, 0.3); /** 그림자 넣기 **/
}
.screen {
height: 100px;
display: flex;
justify-content: flex-end;
align-items: flex-end;
font-size: 200%;
margin-bottom: 15px;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 15px;
}
.button {
display: flex;
justify-content: center;
align-items: center;
background-color: rgb(50, 50, 50);
width: 50px;
height: 50px;
border-radius: 50px;
}
.grey {
background-color: grey;
}
.orange {
background-color: orange;
}