_home-header.scss
1.94 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
/* @include keyframes(turn) {
1% {
@include rotateX(90deg);
background: image-url('yohologo02.png') no-repeat center center;
background-size: 100%
}
2% {
@include rotateX(180deg);
background: image-url('yohologo01.png') no-repeat center center;
background-size: 100%
}
3% {
@include rotateX(90deg);
background: image-url('yohologo02.png') no-repeat center center;
background-size: 100%
}
4% {
@include rotateX(0deg);
background: image-url('yohologo02.png') no-repeat center center;
background-size: 100%
}
100% {
@include rotateX(0deg);
background: image-url('yohologo02.png') no-repeat center center;
background-size: 100%
}
} */
.home-header {
height: 87rem / $pxConvertRem;
line-height: 87rem / $pxConvertRem;
@include background-image(linear-gradient(#323232, #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: 87rem / $pxConvertRem;
background: image-url("yohologo02.png") no-repeat center center;
background-size: 100%;
/*@include animation(60s turn infinite);*/
&.animate{
background: image-url("yohologo01.png") no-repeat center center;
background-size: 100%;
}
}
.search-btn {
position: absolute;
right: 32rem / $pxConvertRem;
top: 0;
bottom: 0;
a{
color: #fff;
}
}
}
.girls-wrap .home-header {
background: #FF88AE;
}
.kids-wrap .logo {
font-style: italic;
font-family: "helvetica","Arial","榛戜綋";
font-weight: bold;
color: #fff;
}