Improved animation performance

This commit is contained in:
Josef Citrine 2016-05-18 17:11:45 +01:00
parent f9331a1644
commit 7a49ec7179

View file

@ -330,12 +330,15 @@ header {
.sidebar {
left: -160px;
transition: transform 0.5s ease;
transform: translateX(0px);
transform: translateX(0px) translateZ(0);
perspective: 1000;
backface-visibility: hidden;
will-change: transform;
z-index: 1000;
}
.sidebar.active {
transform: translateX(160px);
transform: translateX(160px) translateZ(0);
}
.user-details > .avatar > span {