diff options
Diffstat (limited to 'bootstrap/less/utilities.less')
-rwxr-xr-x | bootstrap/less/utilities.less | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/bootstrap/less/utilities.less b/bootstrap/less/utilities.less new file mode 100755 index 0000000..834f5b7 --- /dev/null +++ b/bootstrap/less/utilities.less @@ -0,0 +1,57 @@ +// stylelint-disable declaration-no-important + +// +// 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; +} |