Meh*_*nce 16 css internet-explorer css3
在chrome中,可以使用font: initial !important;
.但在IE(9)中,它没有获得初始价值.
我怎么解决这个问题?
Luk*_*uke 14
@Adrift完全正确,IE目前没有(IE11)支持initial
.但要回答"我该如何解决这个问题?"的问题......
font-style: normal;
font-variant: normal;
font-weight: normal;
font-stretch: normal;
font-size: medium;
line-height: normal;
font-family: serif; /* depends on user agent */
Run Code Online (Sandbox Code Playgroud)
我刚刚遇到这个错误的线高和最小高度.
在IE上,将"initial"替换为"auto"或"inherit".例如:
/*IE*/
line-height: inherit !important;
/* Rest of the world */
line-height: initial !important;
/*IE*/
min-height: auto !important;
/* Rest of the world */
min-height: initial !important;
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
9978 次 |
最近记录: |