-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsponser.css
112 lines (92 loc) · 1.98 KB
/
sponser.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
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
width: 100%;
height: 100vh;
display: grid;
place-items: center;
background: rgb(255, 252, 252);
font-family: 'Barlow', sans-serif;
}
/* box making */
.sponser-in ul li{
display: flex;
justify-content: center;
align-items: center;
min-height: auto;
border: 2px solid rgb(226, 220, 220);
background-color: aliceblue;
padding: 5px;
border-radius: 5px;
height: 20vh !important;
width: 21vh !important;
}
.sponser-wrap{
width: 90%;
height: auto;
text-align: center;
}
.sponser-wrap h1{
font-size: 50px;
color: #202124;
font-weight: 400;
}
.sponser-wrap hr{
width: 20%;
height: 5px;
border: none;
background: #09e32a;
margin: auto;
margin-top: 30px;
margin-bottom: 30px;
}
.sponser-in{
width: 100%;
height: auto;
}
.sponser-in ul{
padding: 0;
margin: 0;
}
.sponser-in ul li{
list-style: none;
display: inline-block;
position: relative;
overflow: hidden;
cursor: pointer;
margin: 10px;
box-shadow: 0px 0px 0px -7px #555;
/* box-shadow: 0 3px 6px #000; */
transition: .5s;
}
.sponser-in ul li:hover{
box-shadow: 0px 8px 30px;
}
.sponser-in ul li img{
width: 100%;
height: 100%;
margin-bottom: 10px;
}
.sponser-in ul li img:nth-child(1){
transform: translateY(0);
transition: 0.5s;
}
.sponser-in ul li img:nth-child(2){
transform: translateY(0);
transition: 0.5s;
}
/* hover property*/
.sponser-in ul li:hover img:nth-child(1){
transform: translateY(-115%);
transition: 0.5s;
/* margin-bottom: 10px !important; */
}
.sponser-in ul li:hover img:nth-child(2){
transform: translateY(-110%);
transition: 0.5s;
/* margin-bottom: 10px !important; */
}