-
Notifications
You must be signed in to change notification settings - Fork 1
/
estilo.css
58 lines (58 loc) · 1.21 KB
/
estilo.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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&display=swap');
* {
padding: 0;
margin: 0;
outline: none;
font-family: 'Montserrat', sans-serif;
font-weight: 500;
font-size: 22px;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #41002d;
}
input {
margin: 2px;
border: none;
border-radius: 3px;
}
input[type=text] {
width: calc(100% - 4px);
height: 40px;
}
input[type=button] {
width: 100px;
height: 50px;
transition: ease 0.2s;
cursor: pointer;
}
div#calculadora {
box-shadow: 0 0 20px black;
}
div#calculadora div {
display: flex;
}
div#calculadora div input:nth-child(4) {
background: #b4b4b4;
}
div#quarta input:nth-child(1) {
background: #f11a1a;
}
div#quarta input:nth-child(1), div#calculadora {
border-bottom-left-radius: 35px;
}
div#quarta input:nth-child(3) {
background: #1a4cf1;
}
div#quarta input:nth-child(4), div#calculadora {
border-bottom-right-radius: 35px;
}
input[type=button]:hover {
filter: brightness(50%);
}
input[type=button]:active {
transform: scale(0.9);
}