-
Notifications
You must be signed in to change notification settings - Fork 0
/
pepsi.css
93 lines (83 loc) · 1.3 KB
/
pepsi.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;
box-sizing: border-box;
}
.main-container{
padding: 1rem;
position: relative;
width: 100%;
height:100vh;
background: rgb(58,101,180);
background: linear-gradient(90deg, rgba(58,101,180,1) 0%, rgba(78,106,154,1) 12%, rgba(43,29,253,1) 52%, rgba(36,13,65,1) 100%);
align-items: center;
transition: .5s;
}
.brand-logo img{
width: 70px;
}
.header{
position: absolute;
display: flex;
align-items: center;
justify-content: space-between;
top:30px;
height: 100px;
width: 100%
}
.menu ul{
display: flex;
justify-content: space-between;
}
.menu li{
list-style: none;
color: white;
font-size: 16px;
margin-right: 1rem;
}
.menu li:hover{
color:#888;
}
.content{
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
color: white;
position: relative;
top:50%;
transform: translateY(-50%);
}
.bottom{
position: absolute;
bottom:0;
width: 100%;
text-align: center;
display: flex;
justify-content: center;
}
.bottom img{
width: 50px;
margin: 30px;
}
.bottom img:hover{
transform: rotateZ(10deg);}
.content img{
height: 300px;
width: 300px;
}
@media (max-width:672px){
.header{
flex-direction: column;
}
.content{
flex-direction: column;
}
.content img{
height: 250px;
width: 200px;
}
h1{
font-size: 27px;
}
}