forked from igdtuw-slot-booking/slot-booking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInput.jsx
30 lines (28 loc) · 817 Bytes
/
Input.jsx
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
import styled from "styled-components";
export default function Input({type,placeholder}){
return <StyledInput className="InputText" type={type} placeholder={placeholder}/>;
}
const StyledInput = styled.input`
background: rgba(255, 255, 255, 0.15);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
border-radius: 2rem;
width: 80%;
height: 3rem;
padding: 1rem;
border: none;
outline: none;
color: #390479;
font-size: 1rem;
font-weight: bold;
&:focus(
display:inline-block;
box-shadow: 0 0 0 0.2rem #b9abe0;
backdrop-filter: blur(12rem);
border-radius: 2rem;
)
&::placeholder(
color: #390479;
font-weight: 100;
font-size: 1rem;
)
`;