<input type="text" class="form-control" placeholder="測試內容">
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: red;
opacity: .4;
}
:input-placeholder { /* Internet Explorer 10-11 */
color: red;
}
::input-placeholder { /* Microsoft Edge */
color: red;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.