Home
About
Contact Us
Disclaimer
Privacy Policy
Terms and Conditions
INTERESTING Code
Home
HTML
CSS
JavaScript
Project
_HTML
_CSS
_JavaScript
About
Login
Home
CSS
CSS Creative BackGround Hover Effects
CSS Creative BackGround Hover Effects
INTERESTING Plus
August 19, 2022
Creative and Amazing BackGround Hover Effect With CSS
Preview
(Try With PC For Better Experience...)
HTML Code:
INTERESTING Code Plus
Copy Codes
CSS Code:
* { padding: 0; margin: 0; font-family: "Poppins", sans-serif; box-sizing: border-box; list-style: none; text-decoration: none; } :root { --color: #7df9ff; --background-color: #001300; } .container { position: relative; width: 100%; height: 100vh; display: flex; flex-wrap: wrap; background: var(--background-color); overflow: hidden; animation: changeColor 5s linear infinite; } @keyframes changeColor { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(360deg); } } span { position: relative; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; cursor: pointer; } span::after { position: absolute; content: ''; width: 100%; height: 100%; background: var(--color); transform: scale(0.1); border-radius: 50%; box-shadow: 0 0 5px var(--color), 0 0 10px var(--color), 0 0 20px var(--color), 0 0 40px var(--color), 0 0 60px var(--color), 0 0 80px var(--color); transition: all 2s ease-in-out; } span:hover::after { transform: scale(1); transition: all 0s ease-in-out; }
Copy Codes
Post a Comment
0 Comments
Social Media
Popular Posts
Tags
CSS
11
HTML
6
JavaScript
2
Loading...
0 Comments