Skip to main content
Add CSS linting
Source Link
Samuel RIGAUD
  • 1.5k
  • 17
  • 25

CSS provides the ::placeholder pseudo-element.

Note that the .placeholder mixin from Bootstrap is deprecated in favor of this.

Example:

input::placeholder { color: black; }
input::placeholder { color: black; }

When using autoprefixer the above will be converted to the correct code for all browsers.

CSS provides the ::placeholder pseudo-element.

Note that the .placeholder mixin from Bootstrap is deprecated in favor of this.

Example:

input::placeholder { color: black; }

When using autoprefixer the above will be converted to the correct code for all browsers.

CSS provides the ::placeholder pseudo-element.

Note that the .placeholder mixin from Bootstrap is deprecated in favor of this.

Example:

input::placeholder { color: black; }

When using autoprefixer the above will be converted to the correct code for all browsers.

Updating wording for modern web
Source Link
Mike Jerred
  • 10.3k
  • 5
  • 24
  • 46

UseCSS provides the new ::placeholder if you use autoprefixerpseudo-element.

Note that the .placeholder mixin from Bootstrap is deprecated in favor of this.

Example:

input::placeholder { color: black; }

When using autoprefixerautoprefixer the above will be converted to the correct code for all browsers.

Use the new ::placeholder if you use autoprefixer.

Note that the .placeholder mixin from Bootstrap is deprecated in favor of this.

Example:

input::placeholder { color: black; }

When using autoprefixer the above will be converted to the correct code for all browsers.

CSS provides the ::placeholder pseudo-element.

Note that the .placeholder mixin from Bootstrap is deprecated in favor of this.

Example:

input::placeholder { color: black; }

When using autoprefixer the above will be converted to the correct code for all browsers.

Added example of how to use placeholder with autoprefixer and link to autoprefixer.
Source Link
hitautodestruct
  • 20.5k
  • 13
  • 72
  • 94

Use the new ::placeholder::placeholder if you use autoprefixerautoprefixer. 

Note that the .placeholder mixin from Bootstrap is deprecated in favor of this.

Example:

input::placeholder { color: black; }

When using autoprefixer the above will be converted to the correct code for all browsers.

Use the new ::placeholder if you use autoprefixer. Note that the .placeholder mixin from Bootstrap is deprecated in favor of this.

Use the new ::placeholder if you use autoprefixer. 

Note that the .placeholder mixin from Bootstrap is deprecated in favor of this.

Example:

input::placeholder { color: black; }

When using autoprefixer the above will be converted to the correct code for all browsers.

Copy edited.
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 109
  • 132
Loading
Source Link
Mike Jerred
  • 10.3k
  • 5
  • 24
  • 46
Loading
Post Made Community Wiki by Mike Jerred