Skip to content

Commit 952c388

Browse files
glass effect for input box
1 parent f3c937e commit 952c388

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/tools/calculator.css

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ body.calculator-body {
44
}
55
.inputbox {
66
border-radius: 5px;
7-
background-color: #3e2148;
87
margin-left: 3.99em;
8+
background: rgba(255, 255, 255, 0.2);
9+
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
10+
backdrop-filter: blur(5px);
11+
-webkit-backdrop-filter: blur(5px);
12+
border: 1px solid rgba(255, 255, 255, 0.3);
913
}
1014
.page__header, .calculator-nav {
1115
background: #3a2840 !important;

0 commit comments

Comments
 (0)