Skip to content

Simple grid layout #239

@adrian2x

Description

@adrian2x

@corysimmons @peterramsing Wondering how I can achieve the following layout using lost:

+------------------------------------------------+
|                   Container                    |
|+----------------------------------------------+|
||                      1                       ||
|+----------------------------------------------+|
|+----------------------++----------------------+|
||          2           ||           3          ||
|+----------------------++----------------------+|
|+----------------------++----------------------+|
||          4           ||           5          ||
|+----------------------++----------------------+|
+------------------------------------------------+ 

I have some markup that sets the container element, and 1 has lost-column: 1, and each of 2, 3, 4 and 5 have lost-column: 1/2 but they show up on top of each other because of the margin-right. Is there any property that I can use to tell lost that I want no margin-right after 3 and 5, so that they show up on the same row?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions