Mercurial > minori
comparison dep/fmt/doc/bootstrap/mixins/hide-text.less @ 343:1faa72660932
*: transfer back to cmake from autotools
autotools just made lots of things more complicated than
they should have and many things broke (i.e. translations)
| author | Paper <paper@paper.us.eu.org> |
|---|---|
| date | Thu, 20 Jun 2024 05:56:06 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 342:adb79bdde329 | 343:1faa72660932 |
|---|---|
| 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 | |
| 9 // Deprecated as of v3.0.1 (will be removed in v4) | |
| 10 .hide-text() { | |
| 11 font: ~"0/0" a; | |
| 12 color: transparent; | |
| 13 text-shadow: none; | |
| 14 background-color: transparent; | |
| 15 border: 0; | |
| 16 } | |
| 17 | |
| 18 // New mixin to use as of v3.0.1 | |
| 19 .text-hide() { | |
| 20 .hide-text(); | |
| 21 } |
