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);}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
Use css to achieve the function of js
License
Gnnnn/button_HelloWorld
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Use css to achieve the function of js
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published