Test3: Difference between revisions

From Now That's What I Call Music Wiki
No edit summary
No edit summary
Line 1: Line 1:
<html><div class="dropdown">
<html>
.dropdown-menu li {
position: relative;
}
.dropdown-menu .dropdown-submenu {
display: none;
position: absolute;
left: 100%;
top: -7px;
}
.dropdown-menu .dropdown-submenu-left {
right: 100%;
left: auto;
}
.dropdown-menu > li:hover > .dropdown-submenu {
display: block;
}
 
<div class="dropdown">
   <button data-mdb-button-init data-mdb-ripple-init data-mdb-dropdown-init
   <button data-mdb-button-init data-mdb-ripple-init data-mdb-dropdown-init
     class="btn btn-primary dropdown-toggle" type="button" id="dropdownMenuButton"
     class="btn btn-primary dropdown-toggle" type="button" id="dropdownMenuButton"

Revision as of 18:36, 13 November 2024

.dropdown-menu li { position: relative; } .dropdown-menu .dropdown-submenu { display: none; position: absolute; left: 100%; top: -7px; } .dropdown-menu .dropdown-submenu-left { right: 100%; left: auto; } .dropdown-menu > li:hover > .dropdown-submenu { display: block; }


Create a template for the containers!

Large Button