mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00

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
55 lines
747 B
Text
55 lines
747 B
Text
//
|
|
// 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;
|
|
}
|