mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-19 06:43:16 +08:00
提前顶部导航的动画
This commit is contained in:
parent
c89536397f
commit
337d16acf2
@ -182,7 +182,6 @@ $(function () {
|
|||||||
self.textTween();
|
self.textTween();
|
||||||
$("body").addClass("index-page");
|
$("body").addClass("index-page");
|
||||||
var header=$("#header")||$("header"),footer=$("#footer")||$("footer");
|
var header=$("#header")||$("header"),footer=$("#footer")||$("footer");
|
||||||
header.removeAttr("style");
|
|
||||||
footer.removeAttr("style")
|
footer.removeAttr("style")
|
||||||
},500);
|
},500);
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@ $(function () {
|
|||||||
self.header=$("#header")||$("header");
|
self.header=$("#header")||$("header");
|
||||||
self.main=$(".main");
|
self.main=$(".main");
|
||||||
self.footer=$("#footer")||$("footer");
|
self.footer=$("#footer")||$("footer");
|
||||||
self.header.css("opacity",0);
|
|
||||||
self.footer.css("opacity",0);
|
self.footer.css("opacity",0);
|
||||||
self.addLoad()
|
self.addLoad()
|
||||||
},
|
},
|
||||||
|
@ -117,7 +117,6 @@ header {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.fn-hide {
|
.fn-hide {
|
||||||
@ -231,6 +230,8 @@ header {
|
|||||||
font-size: 0.875em;
|
font-size: 0.875em;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-right: 25px;
|
margin-right: 25px;
|
||||||
|
-webkit-animation: yTopMatrix .5s ease-out .5s backwards;
|
||||||
|
animation: yTopMatrix .5s ease-out .5s backwards;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav ul li {
|
.nav ul li {
|
||||||
@ -1474,10 +1475,6 @@ footer ul li > a {
|
|||||||
.index-page header{
|
.index-page header{
|
||||||
transition: opacity 0.5S;
|
transition: opacity 0.5S;
|
||||||
}
|
}
|
||||||
.index-page .nav {
|
|
||||||
-webkit-animation: yTopMatrix .5s ease-out .5s backwards;
|
|
||||||
animation: yTopMatrix .5s ease-out .5s backwards;
|
|
||||||
}
|
|
||||||
|
|
||||||
.index-page footer {
|
.index-page footer {
|
||||||
-webkit-animation: yBottomMatrix .5s ease-out 1s backwards;
|
-webkit-animation: yBottomMatrix .5s ease-out 1s backwards;
|
||||||
|
Loading…
Reference in New Issue
Block a user