🌾 更新sidebar 显示隐藏方式
This commit is contained in:
parent
dcded080e9
commit
fd93182115
|
@ -33,16 +33,16 @@
|
|||
z-index: 1998;
|
||||
}
|
||||
.sidebar {
|
||||
width: 0;
|
||||
width: 66%;
|
||||
height: 100%;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
right: -100%;
|
||||
bottom: 0;
|
||||
background: #fff;
|
||||
z-index: 1999;
|
||||
text-align: center;
|
||||
box-shadow: -6px 0 20px rgba(98, 94, 94, .815)
|
||||
box-shadow: -6px 0 20px rgba(98, 94, 94, .815);
|
||||
}
|
||||
|
||||
.topo {
|
||||
|
@ -123,7 +123,7 @@
|
|||
.click( function () {
|
||||
$( '.sidebar' )
|
||||
.animate( {
|
||||
width: "66%"
|
||||
right: "0"
|
||||
}, 500 );
|
||||
$( '.shelter' )
|
||||
.fadeIn( "slow" )
|
||||
|
@ -132,7 +132,7 @@
|
|||
.click( function ( e ) {
|
||||
$( '.sidebar' )
|
||||
.animate( {
|
||||
width: "0"
|
||||
right: "-100%"
|
||||
}, 500 );
|
||||
$( '.shelter' )
|
||||
.fadeOut( "slow" )
|
||||
|
|
Loading…
Reference in New Issue