add 3d transform
This commit is contained in:
parent
589200b455
commit
867c4b20bd
2 changed files with 33 additions and 6 deletions
|
|
@ -687,3 +687,22 @@ a.pin-button:active {
|
|||
opacity: 0;
|
||||
}
|
||||
|
||||
.tab-view {
|
||||
-webkit-transform: translate3d(-100%, 0, 0);
|
||||
transform: translate3d(-100%, 0, 0);
|
||||
width:100%;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.tab-in {
|
||||
-webkit-transform: translate3d(0, 0, 0) !important;
|
||||
transform: translate3d(0, 0, 0) !important;
|
||||
}
|
||||
|
||||
.tab-out {
|
||||
-webkit-transform: translate3d(-100%, 0, 0) !important;
|
||||
transform: translate3d(-100%, 0, 0) !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue