哪个css属性允许'auto'作为值?

时间:2012-09-19 22:32:46

标签: javascript css internet-explorer

我试图在IE< 9中实现计算样式的polyfill。我已经弄清楚如何处理将em,pt和%转换为px,但我需要一个自动解决方案。

我需要一个允许自动的属性列表,以便我可以弄清楚如何使用' auto'来处理属性。作为一种价值。

1 个答案:

答案 0 :(得分:2)

这是我说的一个懒惰的问题。我在2秒内在谷歌上发现了这个list

align-self
alignment-adjust
background-size
bottom
break-after
break-before
break-inside
clip
color-profile
column-count
column-width
crop
cursor
dominant-baseline
drop-initial-size
flex-basis
font-kerning
grid-column
grid-column-sizing
grid-row
grid-row-sizing
height
icon
image-orientation
image-rendering
left
line-break
marker-offset
nav-down
nav-index
nav-left
nav-right
nav-up
overflow-style
page
page-break-after
page-break-before
page-break-inside
play-during
rendering-intent
right
size
speak
table-layout
text-height
text-justify
text-underline-position
top
width
z-index
相关问题