0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/less/utilities.less

58 lines
805 B
Plaintext
Raw Normal View History

2012-06-29 06:46:45 +02:00
//
// Utility classes
// --------------------------------------------------
// Floats
// -------------------------
.clearfix {
.clearfix();
}
.center-block {
.center-block();
}
.pull-right {
2013-07-28 08:05:47 +02:00
float: right !important;
}
.pull-left {
2013-07-28 08:05:47 +02:00
float: left !important;
}
// Toggling content
// -------------------------
2013-09-23 21:46:57 +02:00
// 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();
}
2012-07-23 03:28:39 +02:00
// Hide from screenreaders and browsers
//
// Credit: HTML5 Boilerplate
.hidden {
display: none !important;
visibility: hidden !important;
}
// For Affix plugin
// -------------------------
2012-07-23 03:28:39 +02:00
.affix {
position: fixed;
.translate3d(0, 0, 0);
}