-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
101 lines (87 loc) · 1.75 KB
/
style.css
File metadata and controls
101 lines (87 loc) · 1.75 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
body {
margin: 0px;
background-color: lightcyan;
color: darkgreen;
display: flex;
min-height: 100vh;
justify-content: center;
align-items: center;
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
"Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
.container {
background: rgba(255, 255, 255, 0.3);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
border-radius: 10px;
padding: 20px;
width: 85%;
max-width: 600px;
text-align: center;
font-size: 13px;
transition: all 300ms ease;
}
.container:hover {
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
transition: all 300ms ease;
}
.heading {
margin: 10px;
}
.price img {
width: 60px;
}
.price-container {
display: flex;
padding: 10px;
justify-content: center;
}
.price {
padding: 10px 20px;
margin: 0px 15px;
transition: all 300ms ease;
border-radius: 10px;
}
.price:hover {
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
transition: all 300ms ease;
}
.btn {
background-color: darkcyan;
color: aliceblue;
border: none;
border-radius: 5px;
margin: 5px;
padding: 12px 30px;
cursor: pointer;
transition: all 500ms ease;
}
.btn:hover {
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
transition: all 500ms ease;
}
.btn:active {
transform: scale(0.95);
}
.error {
margin-top: 0.5rem;
color: darkred;
font-size: smaller;
}
@media only screen and (max-width: 428px) {
body {
display: flex;
min-height: 70%;
min-width: 85%;
align-items: center;
margin-top: 2rem;
}
.heading {
font-size: 20px;
}
.price {
padding: 10px 20px;
margin: 0px 5px;
transition: all 300ms ease;
border-radius: 10px;
}
}