0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

_dropdown.scss: Revise comments; fixes #18363

[skip sauce]
This commit is contained in:
Chris Rebert 2015-11-27 20:12:37 -08:00
parent b4c4c0b129
commit a23cf74340

View File

@ -1,4 +1,4 @@
// The dropdown wrapper (div) // The dropdown wrapper (`<div>`)
.dropup, .dropup,
.dropdown { .dropdown {
position: relative; position: relative;
@ -34,7 +34,7 @@
} }
} }
// The dropdown menu (ul) // The dropdown menu
.dropdown-menu { .dropdown-menu {
position: absolute; position: absolute;
top: 100%; top: 100%;
@ -56,14 +56,14 @@
@include box-shadow(0 6px 12px rgba(0,0,0,.175)); @include box-shadow(0 6px 12px rgba(0,0,0,.175));
} }
// Dividers (basically an hr) within the dropdown // Dividers (basically an `<hr>`) within the dropdown
.dropdown-divider { .dropdown-divider {
@include nav-divider($dropdown-divider-bg); @include nav-divider($dropdown-divider-bg);
} }
// Links, buttons, and more within the dropdown menu // Links, buttons, and more within the dropdown menu
// //
// `<button>`-specific styles are denoted with `// for <button>s` // `<button>`-specific styles are denoted with `// For <button>s`
.dropdown-item { .dropdown-item {
display: block; display: block;
width: 100%; // For `<button>`s width: 100%; // For `<button>`s