Skip to content

Commit 9e3cb66

Browse files
committed
Simple Calculator Update
1 parent 231d896 commit 9e3cb66

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

23. Simple Calculator/style.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,20 @@ body {
33
display: flex;
44
justify-content: center;
55
align-items: center;
6-
background: crimson;
6+
background-image: linear-gradient(to right, rgba(26, 188, 156, 0.6), rgba(26, 188, 156, 0.6) 5%, #1abc9c 5%, #1abc9c 10%, rgba(26, 188, 156, 0.6) 10%, rgba(26, 188, 156, 0.6) 15%, #1abc9c 15%, #1abc9c 20%, rgba(26, 188, 156, 0.6) 20%, rgba(26, 188, 156, 0.6) 25%, #1abc9c 25%, #1abc9c 30%, rgba(26, 188, 156, 0.6) 30%, rgba(26, 188, 156, 0.6) 35%, #1abc9c 35%, #1abc9c 40%, rgba(26, 188, 156, 0.6) 40%, rgba(26, 188, 156, 0.6) 45%, #1abc9c 45%, #1abc9c 50%, rgba(26, 188, 156, 0.6) 50%, rgba(26, 188, 156, 0.6) 55%, #1abc9c 55%, #1abc9c 60%, rgba(26, 188, 156, 0.6) 60%, rgba(26, 188, 156, 0.6) 65%, #1abc9c 65%, #1abc9c 70%, rgba(26, 188, 156, 0.6) 70%, rgba(26, 188, 156, 0.6) 75%, #1abc9c 75%, #1abc9c 80%, rgba(26, 188, 156, 0.6) 80%, rgba(26, 188, 156, 0.6) 85%, #1abc9c 85%, #1abc9c 90%, rgba(26, 188, 156, 0.6) 90%, rgba(26, 188, 156, 0.6) 95%, #1abc9c 95%, #1abc9c 100%);
77
color: white;
88
font-family: sans-serif;
99
}
1010

1111
.main {
12-
padding: 5px 0;
12+
padding: 50px;
1313
text-align: center;
14+
background: rgba(5, 5, 5, 0.05);
15+
border-radius: 16px;
16+
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
17+
backdrop-filter: blur(7.9px);
18+
-webkit-backdrop-filter: blur(7.9px);
19+
border: 1px solid rgba(5, 5, 5, 1);
1420
}
1521

1622
input {
@@ -21,7 +27,7 @@ input {
2127
.inputs input {
2228
border: none;
2329
border-radius: 5px;
24-
padding: 1rem 10rem;
30+
padding: 1rem 5rem;
2531
outline: none;
2632
margin-bottom: 10px;
2733
}

0 commit comments

Comments
 (0)