好的,所以网格显然很棒。在过去的两天里,我一直在研究Foundation、Twitter 的Bootstrap、Semantic和Responsive.gs,但我仍然无法找出一个简单的问题:
I have 4 horizontal sections with an image header and text.
I want each to take up 25%.
调整屏幕大小时:
I need the rightmost section to disappear
Each remaining section should therefore take up 33%
如果我.span3
为 12 列网格放置类,那么我必须使用 javascript 将它们更改为.span4
我不想要的。
我已经查看了 symentic 标记(没有在代码中放置魔术类),但这变得非常复杂,并且除了 Semantic 之外的大多数框架都没有完全支持。
这似乎是一件很简单的事情,但我有点卡住了。