Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("select").on("focus", function() {
- $(this).parent().addClass("hovered");
- }).on("blur", function() {
- $(this).parent().removeClass("hovered");
- });
- .yourParentElement:hover, .yourParentElement.hovered { /* some css rules */}
Add Comment
Please, Sign In to add comment