File: SmallServerAdmin/Content/scss/libs/bootstrap/mixins/_hide-text.scss

Recommend this page to a friend!
  Classes of Aleksey Nemiro  >  PHP Small Server Administrator  >  SmallServerAdmin/Content/scss/libs/bootstrap/mixins/_hide-text.scss  >  Download  
File: SmallServerAdmin/Content/scss/libs/bootstrap/mixins/_hide-text.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Small Server Administrator
Web panel for small Debian and Ubuntu servers
Author: By
Last change:
Date: 4 years ago
Size: 590 bytes



Class file image Download
// CSS image replacement
// Heads up! v3 launched with only `.hide-text()`, but per our pattern for
// mixins being reused as classes with the same name, this doesn't hold up. As
// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.
// Source:

// Deprecated as of v3.0.1 (has been removed in v4)
@mixin hide-text() {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;

// New mixin to use as of v3.0.1
@mixin text-hide() {
  @include hide-text;

For more information send a message to info at phpclasses dot org.