Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block diaolizhi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
lewebsimple / dropdown-hover.js
Created Mar 20, 2017
[Bootstrap 4] Dropdown navbar menu on hover
View dropdown-hover.js
// Dropdown navbar menu on hover
$('.dropdown-menu', this).css('margin-top', 0);
$('.dropdown').hover(function () {
$('.dropdown-toggle', this).trigger('click').toggleClass("disabled");
You can’t perform that action at this time.