1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05: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,
.dropdown {
position: relative;
@ -34,7 +34,7 @@
}
}
// The dropdown menu (ul)
// The dropdown menu
.dropdown-menu {
position: absolute;
top: 100%;
@ -56,14 +56,14 @@
@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 {
@include nav-divider($dropdown-divider-bg);
}
// 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 {
display: block;
width: 100%; // For `<button>`s