-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfoodmenu.css
93 lines (86 loc) · 1.38 KB
/
foodmenu.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
*{
margin: 0;
padding: 0;
}
.content{
display: flex;
flex-direction: column;
align-items: center;
}
.heading{
font-size:40px;
font-weight: 800;
margin:60px auto;
}
.cateogaries{
display: flex;
flex-wrap: wrap;
}
.ctitle:active{
background-color:rgba(255,0,0,0.9);
}
.cateogaries .ctitle{
margin:10px;
border:2px solid red;
padding: 10px 25px;
border-radius:8px;
}
a{
text-decoration: none;
color:black;
}
.container{
display: flex;
flex-wrap: wrap;
width:80%;
justify-content:center;
margin: 20px;
}
.items{
width:200px;
height:300px;
display:flex;
border:2px solid red;
padding:4px;
border-radius: 10px;
margin: 20px;
flex-direction: column;
}
.img{
width: 100%;
height: 100%;
object-fit: cover;
}
.title{
font-size:20px;
}
.cateogary{
text-align: center;
margin: 10px 0px;
}
.details{
display: flex;
justify-content: space-between;
width:100%;
}
.items:hover{
background-color: red;
color:white;
transition-duration:0.7s;
box-shadow: 8px 8px 10px rgba(255,0,0,0.4);
transform:translate(-8px,-8px);
}
.items:hover .img{
transform: scale(1.2);
transition-duration: 1s;
}
.img-conatiner{
height:200px;
width:200px;
overflow: hidden;
}
.cateogaries .ctitle:hover {
transform: translate(3px,-5px);
transition-duration: 0.7s;
box-shadow: 5px 5px 10px rgba(255,0,0,0.5);
}