Use css to achieve the function of js.
Well,this is just a small function as u can see.But what makes it stand out from the others is the use of css3(scss).
And I think the quintessence is
.container:hover .shine{
transform: skewX(40deg) translateX(700px);}
which can also be replaced as
.container
{
&:hover .shine{
transform: skewX(40deg) translateX(700px);}
}
Gnnnn/button_HelloWorld
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|