-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
120 lines (110 loc) · 2.02 KB
/
style.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
body,
div,
ul,
li,
h1 {
padding: 0;
margin: 0;
box-sizing: border-box;
}
li {
list-style: none;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.shopping_app {
display: flex;
flex-direction: column;
width: 400px;
height: 600px;
background-color: #f0e6e7;
border-radius: 15px;
box-shadow: 7px 7px 10px rgba(0, 0, 0, 0.2);
}
h1 {
width: 100%;
height: 60px;
background-color: #ff6958;
color: #fff;
text-align: center;
font-size: 20px;
line-height: 60px;
border-radius: 10px 10px 0 0;
}
.shpping-list {
padding: 15px;
overflow-y: scroll;
height: 420px;
}
.shpping-list {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
.shpping-list::-webkit-scrollbar {
display: none; /* Chrome, Safari, Opera*/
}
.shpping-list li {
position: relative;
width: 100%;
padding: 15px;
margin-bottom: 10px;
background-color: #fff;
border-radius: 5px;
}
.shpping-list li button {
position: absolute;
top: 50%;
right: 15px;
width: 35px;
height: 35px;
background-color: #ff6958;
border: 0 none;
border-radius: 50px;
transform: translateY(-50%);
cursor: pointer;
}
.shpping-list li button i {
font-size: 16px;
color: #fff;
transition: all 200ms ease-out;
}
.shpping-list li button:hover i {
transform: scale(1.2);
}
.form {
height: 120px;
background-color: #ff6958;
border-radius: 0 0 10px 10px;
}
.form input[type='text'] {
margin: 10px auto 0;
display: block;
padding: 0 10px;
width: 90%;
height: 35px;
border: 0 none;
outline: 0 none;
font-size: 18px;
}
.btn-submit {
display: block;
margin: 5px auto;
width: 50px;
height: 50px;
border: 0 none;
border-radius: 50px;
background-color: #f0e6e7;
cursor: pointer;
}
.btn-submit i {
font-size: 25px;
color: #ff6958;
transition: all 200ms ease-out;
}
.btn-submit:hover i {
transform: scale(1.2);
}