The following article is by James Nowland, a front end developer for Headjam, a creative agency in Newcastle, Australia. James has created a fairly simple little effect here, but one that you might think would require a little JavaScript. Instead, it uses some clever selector usage.
In this article, I'll cover creative ways of using sibling selectors and pseudo elements to make a CSS-only menu indicator that would normally be achieved using JavaScript.
Here is what we will …
Creating an Animated Menu Indicator with CSS Selectors is a post from CSS-Tricks
Thanks to: CSS-Tricks Permanent link
No hay comentarios.:
Publicar un comentario
Thanks for your comment