Home
About
Contact Us
Disclaimer
Privacy Policy
Terms and Conditions
INTERESTING Code
Home
HTML
CSS
JavaScript
Project
_HTML
_CSS
_JavaScript
About
Login
Home
CSS
Amazing Focus Hover Effects With HTML CSS
Amazing Focus Hover Effects With HTML CSS
INTERESTING Plus
July 19, 2022
Hover Effects With HTML CSS
Preview
HTML Code:
INTERESTING Code Plus
F
O
C
U
S
Copy Codes
CSS Code:
* { margin: 0; padding: 0; box-sizing: border-box; font-family: monospace; } body { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: linear-gradient(45deg,#ff0057,#2196f3); } h2 { position: relative; display: flex; gap: 5px; color: #fff; font-size: 4em; cursor: pointer; } h2 span { position: relative; filter: blur(5px); padding: 0 5px; transition: 0.5s; } h2 span:hover { filter: blur(0px); transition: 0s; } h2 span i { position: absolute; inset: 0; background: transparent; } h2 span:hover i::before { content: ''; position: absolute; top: 0; left: 0; width: 2px; height: 8px; background: #fff; box-shadow: 0 53px #fff, 36px 53px #fff, 36px 0 #fff; } h2 span:hover i::after { content: ''; position: absolute; top: 0; left: 0; width: 8px; height: 2px; background: #fff; box-shadow: 0 60px #fff, 30px 60px #fff, 30px 0 #fff; }
Copy Codes
Post a Comment
0 Comments
Social Media
Popular Posts
Tags
CSS
11
HTML
6
JavaScript
2
Loading...
0 Comments