Рет қаралды 1,429
The :HAS pseudo class in CSS is a pretty powerful feature that allows you to style a parent element based on the children selectors. In this demo, we see how to use this pseudo class to create an animated tab switcher.
Codepen: codepen.io/Dil...
Resources:
* • Why is REPEAT 1fr not ...
* • BEFORE & AFTER PSEUDO ...
* • ANIMATED SWITCHER/TOGG...
Subscribe to My Channel: bit.ly/deeecode
Join my Discord: deeecode.com/d...
_____
🌟 About Me:
Dillion Megida, creator of DEEECODE, is a Software Engineer, Developer Advocate and a Content Creator passionate about simplifying topics around Tech via articles and videos.
_____
⚡️ Connect with me:
- Personal youtube: / dillionmegida
- Personal website: dillionmegida....
- Twitter: / iamdillion
- Instagram: / deeecode
- LinkedIn: / dillionmegida
- GitHub: github.com/dil...