github postcss/autoprefixer 9.8.0
9.8 “Vigilo Confido”

latest releases: 10.4.19, 10.4.18, 10.4.17...
3 years ago

XCOM coat of arms

Autoprefixer 9.8 brings IE support for :placeholder-shown.

Placeholder Shown

@tkrotoff found that input:placeholder-shown can be emulated with input:-ms-input-placeholder.

input:-ms-input-placeholder {
  box-shadow: 0 0 0 1px blue;
}

input:placeholder-shown {
  box-shadow: 0 0 0 1px blue;
}

Note, that we already had support for ::placeholder. Selector ::placeholder is for the text of the placeholder. :placeholder-shown is for the input, where placeholder text is shown. In ::placeholder you can’t change the border or size of the <input>.

Don't miss a new autoprefixer release

NewReleases is sending notifications on new releases.