Pinku

Pinku

  • 1.4k
  • 308
  • 46.7k

onhover how to create a boreder bottom

Jul 26 2019 1:41 AM
$('.list-style-header-nav >li > a').hover(function () {
$(this).css("background-color", "red");
}, function () {
$(this).css("background-color", "white");
});
 
here on hover i want to create a border bottom and want to specify a color.how can i do it?
i tried 
border-bottom-color:"solid 2px red"; 
this things not working. 

Answers (1)