_home-header.scss
3.16 KB
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
@keyframes turn {
1% {
transform: rotateX(90deg);
background: image-url("yohologo01.png") no-repeat center center;
background-size: 100%;
}
2% {
transform: rotateX(180deg);
background: image-url("yohologo01.png") no-repeat center center;
background-size: 100%;
}
50% {
transform: rotateX(180deg);
background: image-url("yohologo01.png") no-repeat center center;
background-size: 100%;
}
51% {
transform: rotateX(90deg);
background: image-url("yohologo02.png") no-repeat center center;
background-size: 100%;
}
52% {
transform: rotateX(0deg);
background: image-url("yohologo02.png") no-repeat center center;
background-size: 100%;
}
100% {
transform: rotateX(0deg);
background: image-url("yohologo02.png") no-repeat center center;
background-size: 100%;
}
}
@-webkit-keyframes turn {
1% {
-webkit-transform: rotateX(90deg);
background: image-url("yohologo01.png") no-repeat center center;
background-size: 100%;
}
2% {
-webkit-transform: rotateX(180deg);
background: image-url("yohologo01.png") no-repeat center center;
background-size: 100%;
}
50% {
-webkit-transform: rotateX(180deg);
background: image-url("yohologo01.png") no-repeat center center;
background-size: 100%;
}
51% {
-webkit-transform: rotateX(90deg);
background: image-url("yohologo02.png") no-repeat center center;
background-size: 100%;
}
52% {
-webkit-transform: rotateX(0deg);
background: image-url("yohologo02.png") no-repeat center center;
background-size: 100%;
}
100% {
-webkit-transform: rotateX(0deg);
background: image-url("yohologo02.png") no-repeat center center;
background-size: 100%;
}
}
.header {
height: 87rem / $pxConvertRem;
line-height: 87rem / $pxConvertRem;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #323232), color-stop(1, #414141));
background-image: -moz-gradient(linear, left top, left bottom, color-stop(0, #323232), color-stop(1, #414141));
background-image: gradient(linear, left top, left bottom, color-stop(0, #323232), color-stop(1, #414141));
position: relative;
.iconfont {
color: #fff;
}
.nav-btn {
position: absolute;
left: 32rem / $pxConvertRem;
top: 0;
bottom: 0;
z-index: 2;
}
.logo {
display: block;
margin: 0 auto;
width: 208rem / $pxConvertRem;
height: 100%;
background: image-url("yohologo02.png") no-repeat center center;
background-size: 100%;
animation: 60s turn infinite;
-webkit-animation: 60s turn infinite;
}
.search-btn {
position: absolute;
right: 32rem / $pxConvertRem;
top: 0;
bottom: 0;
}
}
.girls-wrap .header {
background: #fd307f;
}
.kids-wrap .logo {
font-style: italic;
font-family: "helvetica","Arial","榛戜綋";
font-weight: bold;
color: #fff;
}