Skip to main content

Ray Messina

Article

Targeting Menu Elements with Submenus in a Navigation Bar

The following is a guest post by Ray Messina. Ray was interested in sharing this technique as a way to pay forward things he's learned from this site in the past, which is awesome. You might be aware of the jQuery .has method, which allows you to select an element if it has any of another selector as a descendant. There is sadly no such selector in CSS yet. But if you know a little something about the HTML Read article

icon-link icon-logo-star icon-search icon-star