close

轉自 https://stackoverflow.com/questions/899107/how-can-i-do-width-100-100px-in-css

--

Modern browsers now support the:

 

width: calc(100% - 100px);

 

To see the list of supported browser versions checkout: Can I use calc() as CSS unit value?

There is a jQuery fallback: css width: calc(100% -100px); alternative using jquery

--

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 dizzy03 的頭像
    dizzy03

    碎碎念

    dizzy03 發表在 痞客邦 留言(0) 人氣()