Skip to content

Commit

Permalink
Update hover-underline3
Browse files Browse the repository at this point in the history
  • Loading branch information
jolaleye committed Apr 27, 2019
1 parent 6b61a89 commit 21ae93a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions effects/hover-underline3.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@ span::before {
bottom: 0;
width: 100%;
height: 2px;
opacity: 0;
background-color: #fc2f70;
transform-origin: center;
transform: translate(-50%, 0) scaleX(0);
transition: all 0.3s ease-in-out;
transition: transform 0.3s ease-in-out;
}
span:hover::before {
transform: translate(-50%, 0) scaleX(1);
opacity: 1;
}
</style>

0 comments on commit 21ae93a

Please sign in to comment.