Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
1b2b049e
Commit
1b2b049e
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Fixes #6841: Add new Firefox placeholder, comments
parent
3eed90c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+5
-0
docs/assets/css/bootstrap.css
less/mixins.less
+4
-9
less/mixins.less
with
9 additions
and
9 deletions
+9
-9
docs/assets/css/bootstrap.css
+
5
-
0
View file @
1b2b049e
...
@@ -1178,6 +1178,11 @@ textarea:-moz-placeholder {
...
@@ -1178,6 +1178,11 @@ textarea:-moz-placeholder {
color
:
#999999
;
color
:
#999999
;
}
}
input
::-moz-placeholder
,
textarea
::-moz-placeholder
{
color
:
#999999
;
}
input
:-ms-input-placeholder
,
input
:-ms-input-placeholder
,
textarea
:-ms-input-placeholder
{
textarea
:-ms-input-placeholder
{
color
:
#999999
;
color
:
#999999
;
...
...
This diff is collapsed.
Click to expand it.
less/mixins.less
+
4
-
9
View file @
1b2b049e
...
@@ -54,15 +54,10 @@
...
@@ -54,15 +54,10 @@
// Placeholder text
// Placeholder text
.placeholder(@color: @input-color-placeholder) {
.placeholder(@color: @input-color-placeholder) {
&:-moz-placeholder {
&:-moz-placeholder { color: @color; } // Firefox 4-18
color: @color;
&::-moz-placeholder { color: @color; } // Firefox 19+
}
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
&:-ms-input-placeholder {
&::-webkit-input-placeholder { color: @color; } // Safari and Chrome
color: @color;
}
&::-webkit-input-placeholder {
color: @color;
}
}
}
// Text overflow
// Text overflow
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment