Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import 'grid';
- .container {
- margin: 0px auto;
- width: @total_width;
- }
- .test{
- height: 50px;
- background: blue;
- .grid(8);
- }
- .test_nest_first{
- height: 50px;
- background: red;
- .grid_alpha(4);
- }
- .test_nest_last{
- height: 50px;
- background: purple;
- .grid_omega(4);
- }
- RESULTS IN:
- .container {
- margin: 0px auto;
- width: 960px;
- }
- .test {
- height: 50px;
- background: blue;
- width: 472px;
- margin: 0px 4px;
- float: left;
- }
- .test_nest_first {
- height: 50px;
- background: red;
- width: 232px;
- margin: 0px 4px 0px 0px;
- float: left;
- }
- .test_nest_last {
- height: 50px;
- background: purple;
- width: 232px;
- margin: 0px 0px 0px 4px;
- float: left;
- }
Add Comment
Please, Sign In to add comment