-
Notifications
You must be signed in to change notification settings - Fork 0
/
MENU.css
100 lines (97 loc) · 1.8 KB
/
MENU.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
@import url('https://fonts.googleapis.com/css?family=lexend:wght@400,700;&display=swap');
*{
margin: 0;
padding:0;
box-sizing: border-box;
}
body {
font-family: 'Lexend', sans-serif;
font-size: 16px;
line-height: 24px;
}
.container{
width: 1200px;
margin: 0 auto;
padding: 80px 0;
}
.heading {
max-width:700px;
margin: 0 auto;
text-align: center;
margin-bottom: 60px;
}
.heading h4{
max-width: 700px;
margin:0 auto;
margin-bottom: 0px;
display:inline-block;
text-transform: uppercase;
font-size: 36px;
margin-bottom: 20px;
padding-bottom: 30px;
position:relative;
}
.heading h4:after{
position:absolute;
content: "";
width: 80%;
height: 3px;
background-color: teal;
bottom: 0;
left:50%;
transform: translateX(-50%);
}
.menus{
display:flex;
flex-wrap: wrap;
justify-content: space-between;
}
.single-menu{
text-align: center;
flex-basis: 32%;
}
.single-menu h2{
background-color: tomato;
color: fff;
padding:10px 0;
text-transform: uppercase;
font-size: 26px;
}
.menu-box{
border:1px solid #ddd;
margin: 35px 0;
padding: 20px 0;
border-bottom: 3px solid #ddd;
}
.menu-box img{
max-width: 100px;
border-radius:50%;
border:1px solid #ddd;
padding:3px;
transition: .3s;
cursor: pointer ;
}
.menu-box h4{
text-transform: capitalize;
font-size: 22px;
margin: 10px auto;
padding:10px;
border-top: 1px dashed #ddd;
border-bottom: 1px dashed #ddd;
}
.menu-box h4 span{
color:tomato;
font-style: italic;
}
.menu-box:hover img{
border-radius: 0;
}
/*mobile Layout */
@media only screen and (max-width:800px){
.container{
width:400px;
}
.single-menu{
flex-basis: 100%;
}
}