style: change hamburger default style

This commit is contained in:
Pan 2017-10-23 11:01:38 +08:00
parent ccddfe87bc
commit 18ec63d238
1 changed files with 13 additions and 14 deletions

View File

@ -34,13 +34,12 @@ export default {
cursor: pointer; cursor: pointer;
width: 20px; width: 20px;
height: 20px; height: 20px;
transform: rotate(0deg); transform: rotate(90deg);
transition: .38s; transition: .38s;
transform-origin: 50% 50%; transform-origin: 50% 50%;
} }
.hamburger.is-active { .hamburger.is-active {
transform: rotate(90deg); transform: rotate(0deg);
} }
</style> </style>