【发布时间】:2014-01-09 22:42:48
【问题描述】:
我想将 twitter bootstrap 3 中基于“像素”的媒体更改为基于“em”的媒体查询。
例如:
@media only screen and (max-width: 320px){} 将等于 @media only screen and (max-width: 20){} @media only screen and (max-width: 480px){} 将等于 @media only screen and (max-width: 30){} 等。
有没有更简单的方法在 bootstrap.css 文件中执行此操作,而不是手动更改所有媒体查询,这将花费大量时间。
提前致谢
拉吉
【问题讨论】:
标签: html css twitter-bootstrap twitter