mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-28 20:52:21 +01:00
update hide text to h5bp technique #2586
This commit is contained in:
parent
59503e71ff
commit
8e0afbeaa4
Binary file not shown.
12
docs/assets/css/bootstrap-responsive.css
vendored
12
docs/assets/css/bootstrap-responsive.css
vendored
@ -19,9 +19,11 @@
|
|||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
.hide-text {
|
.hide-text {
|
||||||
overflow: hidden;
|
border: 0;
|
||||||
text-indent: 100%;
|
font: 0/0 a;
|
||||||
white-space: nowrap;
|
text-shadow: none;
|
||||||
|
color: transparent;
|
||||||
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
.input-block-level {
|
.input-block-level {
|
||||||
display: block;
|
display: block;
|
||||||
@ -169,9 +171,9 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 28px;
|
min-height: 28px;
|
||||||
/* Make inputs at least the height of their button counterpart */
|
/* Make inputs at least the height of their button counterpart */
|
||||||
|
|
||||||
/* Makes inputs behave like true block-level elements */
|
/* Makes inputs behave like true block-level elements */
|
||||||
|
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
-ms-box-sizing: border-box;
|
-ms-box-sizing: border-box;
|
||||||
|
8
docs/assets/css/bootstrap.css
vendored
8
docs/assets/css/bootstrap.css
vendored
@ -113,9 +113,11 @@ textarea {
|
|||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
.hide-text {
|
.hide-text {
|
||||||
overflow: hidden;
|
border: 0;
|
||||||
text-indent: 100%;
|
font: 0/0 a;
|
||||||
white-space: nowrap;
|
text-shadow: none;
|
||||||
|
color: transparent;
|
||||||
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
.input-block-level {
|
.input-block-level {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -98,13 +98,15 @@
|
|||||||
white-space: nowrap;
|
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 {
|
.hide-text {
|
||||||
overflow: hidden;
|
border: 0;
|
||||||
text-indent: 100%;
|
font: 0/0 a;
|
||||||
white-space: nowrap;
|
text-shadow: none;
|
||||||
|
color: transparent;
|
||||||
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user