-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.css
More file actions
65 lines (65 loc) · 1.37 KB
/
Copy pathcontact.css
File metadata and controls
65 lines (65 loc) · 1.37 KB
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
59
60
61
62
63
64
65
p{
text-align: center;
}
form{
display: flex;
margin-inline: auto;
flex-direction: column;
width: 40rem;
padding-block-end: 2em;
background-image: linear-gradient(0deg, rgb(205, 156, 242) -30.65%, rgb(246, 243, 255) 100%);
margin-block-start: 2em;
border-radius: 20px;
box-shadow: 0px 0px 7.5px 3px rgba(255, 255, 255, 0.733);
max-width: 85%;
}
textarea{
resize: none;
padding: 10px;
aspect-ratio: 3/1;
font-size: 1.1rem;
border-radius: 5px;
background-color: rgba(255,255,255,0.1);
counter-reset: black;
}
input{
width:90%;
padding: 10px;
font-size: 1.1rem;
border-radius: 5px;
background-color: rgba(255,255,255,.1);
color: black;
}
input, textarea, label{
margin-inline:5% ;
}
label{
padding-block-start: 2em;
padding-block-end: .4em;
font-size: .9rem;
font-weight: 600;
font-family: roboto, sans-serif;
}
header{
position: relative
}
input:focus, textarea:focus{
outline:4px solid rgb(61, 181, 255);
outline-offset:5px;
outline-style: auto;
}
button{
border:0;
background-color: rgba(50,43,89,1);
margin-block-start: 1em;
padding-block: 1em;
margin-inline: 5%;
font-size: 1.25rem;
font-weight: 600;
border-radius: 5px;
color: white;
transition: all ease-in .2s;
}
button:hover{
background-color: rgba(50,43,89,.8);
}