如何在Chrome开发者工具中调试orientation:portrait的css?
无论我在 (orientation:portrait)
中写什么内容,都不能在Firebug和Chrome开发者工具中实时编辑。它总是显示正常的属性。
/*normal styles here */
#wrap {
width:1024px;
}
@media only screen and (orientation:portrait){
/* portrait styles here */
#wrap {
width:768px;
}
}