-
Notifications
You must be signed in to change notification settings - Fork 2
/
womens-heel.css
171 lines (160 loc) · 2.73 KB
/
womens-heel.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
html{
scroll-behavior: smooth;
}
header{
width: 100%;
height:100vh ;
}
/* navbar started here */
nav{
width: 100%;
height: 100px;
border: 1px solid gray;
box-shadow: 2px 0px 5px gray;
display:flex;
align-items: center;
justify-content: space-around;
background: chartreuse;
}
.logo{
font-size: 80px;
font-weight: bold;
text-shadow: 2px 2px black ;
}
.menu a{
text-decoration: none;
font-size: 20px ;
color: black;
padding: 10px 2px ;
margin: 10px;
font-weight: bold;
}
.menu a:last-child{
background: black ;
color: white;
padding: 10px 20px ;
}
.menu a:last-child:hover{
font-size: 30px;
text-shadow: 3px 3px brown;
}
.container{
display:flex;
align-items: center;
justify-content: center;
transform-style: preserve-3d;
transform-origin:center;
perspective: 200px;
}
.left{
flex-basis: 50%;
animation: animate 3s linear infinite;
}
/* navbar completed here */
/* animation is applied here */
@keyframes animate{
0%{
transform: scale(1.1);
}
50%{
transform: scale(1);
}
100%{
transform: scale(1.1);
}
}
.right{
flex-basis: 50%;
max-width: 400px;
margin-left: 100px;
}
.right h1{
font-size: 50px;
}
.right p{
font-size: 20px;
margin: 20px 0px ;
}
.btn-1{
background: black;
color: white;
font-weight: bold;
border: none;
outline: none;
padding: 10px 20px ;
margin-bottom: 20px;
}
#feature{
padding: 50px 0px ;
font-size: 50px ;
text-align: center;
}
.feature-1{
display: grid;
grid-template-columns: repeat(4,20%);
grid-auto-rows: minmax(200px, auto);
grid-gap: 1em;
justify-content: center;
}
.feature-1>div{
border: 1px solid grey;
position: relative;
}
.feature-1 div img{
width: 100%;
overflow: hidden;
}
.feature-img-1{
grid-row: 1/3;
grid-column: 1/3;
}
.prize{
position: absolute;
top: 0;
left: 0;
background :black;
color: white;
font-size: 20px;
}
.feature-1 div img:hover{
transform: scale(1.2);
transition: 0.4s , linear;
}
#man{
padding:80px 0px ;
}
.man-row{
display: flex;
justify-content: space-around;
align-items: center;
}
.man-box{
flex-basis: 15%;
box-shadow: 2px 3px 5px grey;
padding: 10px;
text-align: center;
}
.man-box img{
width: 100%;
}
.man-box h2{
margin: 20px 0xp ;
}
.man-box h3{
background: black;
color: white;
padding: 10px;
}
.man-box:hover{
transform: translate(-20px);
transition: 0.4s ease;
}
#footer{
display: flex;
justify-content: space-around;
align-items: center;
background: gray;
color: black;
padding: 10px;
margin-top: 50px;
}