-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpractice2.css
66 lines (66 loc) · 1.19 KB
/
practice2.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
59
60
61
62
63
64
65
66
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: #ccc;
}
.container{
max-width: 900px;
margin: 0 auto;
}
.content{
max-width: 600px;
padding: 20px;
background-color: white;
margin: 50px auto;
box-shadow: 4px 3px 2px rgba(1, 1, 1, 0.3);
border-radius: 5px;
}
.content h2{
margin-bottom: 25px;
font-size: 30px;
text-align: center;
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.realform{
display: grid;
grid-template-columns: repeat(auto-fit , minmax(200px,1fr));
grid-gap: 25px;
}
.formcontrol{
display: flex;
flex-direction: column
}
.formcontrol label{
font-weight: 400;
margin-bottom: 5px;
}
input,
textarea,
select{
padding: 4px 8px 4px 8px;
border: 1px solid #ccc;
border-radius: 2px;
cursor: pointer;
}
input,select,textarea:focus{
outline-color: rebeccapurple;
}
.apply{
display: flex;
justify-content: flex-end;
}
button{
background-color: red;
padding: 10px;
border: transparent;
color: white;
border-radius: 8px;
}
button:hover{
background-color: black;
border: 1px solid black;
cursor: pointer;
}