-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflexapp.css
More file actions
56 lines (51 loc) · 800 Bytes
/
flexapp.css
File metadata and controls
56 lines (51 loc) · 800 Bytes
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
.header
{
background:rgb(0, 0, 0);
padding:5px 15px;
margin-bottom:20px;
width:100%;
}
.header h2{
display:inline-block;
background-image:linear-gradient(to right,gold,yellow,skyblue);
color:transparent;
background-clip:text;
}
/*flex styles */
.flex-box
{
display:flex;
flex-direction:row;
flex-wrap:wrap;
gap:30px;
justify-content:space-evenly;
padding:15px 5px;
}
.flex-item
{
text-align:center;
width:20%;
border-radius:15px;
box-shadow:0 0 10px black;
transition:0.3s;
margin-bottom:10px;
padding:15px 5px;
}
.flex-item:hover{
box-shadow: 0 0 20px red;
transform:scale(1.02);
}
img{
width:100%;
height:280px;
border-radius:15px;
}
.flex-item:hover
{
cursor:pointer;
}
.price
{
font-size:24px;
font-weight:bold;
}