mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-10 22:24:19 +01:00
7dd72d83fa
This .hidden was taken from HTML 5 Boilerplate and yesterday we discussed on twitter that visibility: hidden !important can be removed now. https://twitter.com/jitendravyas/status/562940090553733121
56 lines
747 B
Plaintext
56 lines
747 B
Plaintext
//
|
|
// Utility classes
|
|
// --------------------------------------------------
|
|
|
|
|
|
// Floats
|
|
// -------------------------
|
|
|
|
.clearfix {
|
|
.clearfix();
|
|
}
|
|
.center-block {
|
|
.center-block();
|
|
}
|
|
.pull-right {
|
|
float: right !important;
|
|
}
|
|
.pull-left {
|
|
float: left !important;
|
|
}
|
|
|
|
|
|
// Toggling content
|
|
// -------------------------
|
|
|
|
// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
|
|
.hide {
|
|
display: none !important;
|
|
}
|
|
.show {
|
|
display: block !important;
|
|
}
|
|
.invisible {
|
|
visibility: hidden;
|
|
}
|
|
.text-hide {
|
|
.text-hide();
|
|
}
|
|
|
|
|
|
// Hide from screenreaders and browsers
|
|
//
|
|
// Credit: HTML5 Boilerplate
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
|
|
// For Affix plugin
|
|
// -------------------------
|
|
|
|
.affix {
|
|
position: fixed;
|
|
}
|