1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-25 14:30:46 +02:00

update hide text to h5bp technique #2586

This commit is contained in:
Jacob Thornton
2012-03-14 12:00:27 -07:00
parent 59503e71ff
commit 8e0afbeaa4
4 changed files with 19 additions and 13 deletions

View File

@@ -98,13 +98,15 @@
white-space: nowrap;
}
// New image replacement
// CSS image replacement
// -------------------------
// Source: http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/
// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
.hide-text {
overflow: hidden;
text-indent: 100%;
white-space: nowrap;
border: 0;
font: 0/0 a;
text-shadow: none;
color: transparent;
background-color: transparent;
}