RT T. Afif @ CSS Challenges
💡 CSS Tip!
Create a fancy hover effect with a simple code
✅ No extra element
✅ No pseudo elements
✅ Only background properties (2 gradients for the 4 sides)
✅ Optimized with CSS variables
Demo:
#CSS
https://codepen.io/t_afif/pen/XWzRpeR
https://twitter.com/ChallengesCss/status/1491733994089730053