我的应用程序出现了一些问题,在Internet Explorer 11中没有显示占位符。
我尝试了下面的CSS示例,但没有成功。
:-ms-input-placeholder { /* IE10–11 */
color: #ccc !important;
font-weight: 400 !important;
}
::-ms-input-placeholder { /* Edge */
color: #ccc;
font-weight: 400;
}
::placeholder { /* CSS Working Draft */
color: #ccc;
font-weight: 400;
}
有什么解决这个问题的建议吗?