“Input placeholder CSS” Kode Jawaban

Warna placeholder CSS

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: pink;
}
::-moz-placeholder { /* Firefox 19+ */
  color: pink;
}
:-ms-input-placeholder { /* IE 10+ */
  color: pink;
}
:-moz-placeholder { /* Firefox 18- */
  color: pink;
}
Drab Dragonfly

Placeholder CSS

::-webkit-input-placeholder {color: pink;} /* Chrome/Opera/Safari */
::-moz-placeholder { color: pink;} /* Firefox 19+ */
:-ms-input-placeholder { color: pink;} /* IE 10+ */
:-moz-placeholder {color: pink;}  /* Firefox 18- */
Himanshu Daudia

CSS Teks Placeholder

input {
  border: 1px solid black;
  padding: 3px;
  height: 300px;
}

input:placeholder-shown {
  border-color: teal;
  color: purple;
  font-style: italic;
}
Weary Wren

Input placeholder CSS

input::placeholder {
  color: red;
}
Morgane Keller

CSS Teks Placeholder

input {
  border: 1px solid black;
  padding: 3px;
  height: 20px;
}

input:placeholder-shown {
  border-color: teal;
  color: purple;
  font-style: italic;
}
Weary Wren

Input placeholder CSS

form ::-webkit-input-placeholder {
      color: #4d4c4c;
      font-family: "Libre Franklin", sans-serif;
      font-size: 12px;
  }
  
  form :-moz-placeholder {
      color: #4d4c4c;
      font-family: "Libre Franklin", sans-serif;
      font-size: 12px;
  }
  
  form ::-moz-placeholder {
      color: #4d4c4c;
      font-family: "Libre Franklin", sans-serif;
      font-size: 12px;
  }
  
  form :-ms-input-placeholder {
      color: #4d4c4c;
      font-family: "Libre Franklin", sans-serif;
      font-size: 12px;
  }
Emad Zedan

Jawaban yang mirip dengan “Input placeholder CSS”

Pertanyaan yang mirip dengan “Input placeholder CSS”

Lebih banyak jawaban terkait untuk “Input placeholder CSS” di CSS

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya