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