Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想把所有的值都变成'px'(网格、装订线......)。机会流体到静态网格。
我尝试“固定排水沟”,但这不适用于整个网格,只适用于排水沟。
我怎样才能做到这一点?
谢谢奥尼 _
只要给你的包含元素一个固定的宽度。
<div class="grid"> <div class="column-1">a column</div> </div> .grid { width: 960px; }