如何在 Susy 中实现以下布局?
_________________________________
| | Rt. Top |
| Left |________________|
| | Rt. Bottom |
|______________|________________|
及其相反:
_________________________________
| Lt. Top | |
|________________| Right |
| Lt. Bottom | |
|________________|______________|
到目前为止,对于上图,我尝试过:
#header {
#logo { @include span-columns( 4, 12); }
#search { @include span-columns(8 omega,12 ); }
#menu { @include span-columns(8 omega,12 ); }
}
<header id="header">
<div id='logo'>logo logo logo logo<br>logo logo logo logo<br>logo logo logo logo<br>logo logo logo logo<br>logo logo logo logo<br>logo logo logo logo</div>
<div id='search'>search search search<br>search search search<br>search search search<br>search search search<br>search search search<br>search search search</div>
<div id='menu'>menu menu menu<br>menu menu menu<br>menu menu menu<br>menu menu menu<br>menu menu menu<br>menu menu menu<br>menu menu menu<br>menu menu menu</div>
</header>
结果是:
_________________________________
| | |
| Left | Rt. Top |
|______________|________________|
| Rt. Bottom |
|________________|