a {
color: #ebebeb;
&:hover {
color: darken(#ebebeb, 25%);
}
&:after, &:before {
content: '';
position: absolute;
bottom: 0;
background-color: #669;
width: 50%;
height: 2px;
transition: all 0.5s;
transition-timing-function: cubic-bezier(0.13, 0.72, 1, 0.6);
}
&:after {
right: 50%;
}
&:before {
left: 50%;
}
&:hover {
&:before, &:after {
width: 0;
}
}
}
link hover bezier
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.