Line 46: | Line 46: | ||
− | < | + | <script> |
+ | $(document).ready(function(){ | ||
+ | $(".dropdown-menu").hover( | ||
+ | function(){ | ||
+ | $(".dropdown-menu").css("background-color","green"); | ||
+ | }, | ||
+ | function(){ | ||
+ | $(".dropdown-menu").css("background-color","blue"); | ||
+ | } | ||
+ | ); | ||
+ | }); | ||
+ | </script> | ||
<body> | <body> | ||
<nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-green"> | <nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-green"> |
Revision as of 04:59, 3 October 2018