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.
我对此有点陌生,但我认为解释我的情况的最好方法是把它画出来,所以这里是我正在尝试做的图像http://d.pr/i/5ez3
基本上,一旦浮动 div 折叠并且浏览器窗口变小,它们就会重新调整大小。
当浏览器的宽度低于某个特定宽度时,您将不得不使用媒体查询来分解 div 应该采用的宽度。
http://css-tricks.com/resolution-specific-stylesheets/