source: trip-planner-front/node_modules/bootstrap/less/mixins/hide-text.less@ eed0bf8

Last change on this file since eed0bf8 was fa375fe, checked in by Ema <ema_spirova@…>, 3 years ago

adding new components

  • Property mode set to 100644
File size: 668 bytes
Line 
1// stylelint-disable font-family-name-quotes, font-family-no-missing-generic-family-keyword
2
3// CSS image replacement
4//
5// Heads up! v3 launched with only `.hide-text()`, but per our pattern for
6// mixins being reused as classes with the same name, this doesn't hold up. As
7// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.
8//
9// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
10
11// Deprecated as of v3.0.1 (has been removed in v4)
12.hide-text() {
13 font: ~"0/0" a;
14 color: transparent;
15 text-shadow: none;
16 background-color: transparent;
17 border: 0;
18}
19
20// New mixin to use as of v3.0.1
21.text-hide() {
22 .hide-text();
23}
Note: See TracBrowser for help on using the repository browser.