-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathestilo.css
58 lines (58 loc) · 1.17 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 & 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-color: #5a0d79;
}
input {
margin: 2px;
border: none;
border-radius: 3px;
transition: ease 0,2s;
cursor: pointer;
}
input[type=text]{
width: calc(100% - 4px);
height: 40px;
}
input[type=button]{
width: 100px;
height: 50px;
}
div#calculadora {
box-shadow: 0 0 20px black;
}
div#calculadora div {
display: flex;
}
div#quarta input:nth-child(1) {
background: #ff0000;
}
div#quarta input:nth-child(1), div#calculadora {
border-bottom-left-radius: 35px;
}
div#quarta input:nth-child(3) {
background: #0000ff;
}
div#quarta input:nth-child(4), div#calculadora {
border-bottom-right-radius: 35px;
}
div#calculadora input:nth-child(4){
background: rgb(156, 156, 156);
}
input[type=button]:hover {
filter: brightness(50%);
}
input[type=button]:active {
transform: scale(0.9);
}