-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
89 lines (78 loc) · 1.37 KB
/
styles.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background: url("trip-bg.jpg");
width: 100%;
}
img {
width: 100%;
height: 100%;
position: absolute;
z-index: -1;
opacity: 0.6;
background-position: cover;
}
.container {
max-width: 80%;
/* background-color: rgb(96, 203, 217); */
padding: 34px;
margin: auto;
justify-content: center;
}
.container h1 {
text-align: center;
border: 2px solid black;
background-color: transparent;
border-radius: 8px;
width: 80%;
margin: auto;
/* margin auto is for making in center */
}
.container p {
text-align: center;
margin: 10px;
}
input,
textarea {
display: block;
flex-direction: column;
margin: 10px;
height: 38px;
width: 100%;
border-radius: 12px;
padding: 12px;
border-style: ridge;
font-size: 1rem;
outline: none;
/* background-color: white; */
opacity: 0.6;
font-weight: bold;
}
textarea {
width: 100%;
height: 100px;
border: 2px solid black;
}
.button {
display: flex;
justify-content: center;
}
.btn {
padding: 10px;
font-size: 1em;
border-radius: 12px;
color: white;
margin: 10px;
cursor: pointer;
width: 100px;
border: 2px solid gray;
}
.btn:nth-last-child(2) {
background-color: green;
}
.btn:nth-last-child(1) {
background-color: red;
}