logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git

hide-text.less (579B)


  1. // CSS image replacement
  2. //
  3. // Heads up! v3 launched with with only `.hide-text()`, but per our pattern for
  4. // mixins being reused as classes with the same name, this doesn't hold up. As
  5. // of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.
  6. //
  7. // Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
  8. // Deprecated as of v3.0.1 (will be removed in v4)
  9. .hide-text() {
  10. font: ~"0/0" a;
  11. color: transparent;
  12. text-shadow: none;
  13. background-color: transparent;
  14. border: 0;
  15. }
  16. // New mixin to use as of v3.0.1
  17. .text-hide() {
  18. .hide-text();
  19. }