mobi-css / mobi.css

A lightweight, scalable, mobile-first CSS framework
http://getmobicss.com/
MIT License
2.34k stars 144 forks source link

Container and container-side not direct in body cause container-side not on side #20

Closed guyskk closed 8 years ago

guyskk commented 8 years ago

Container and container-side not direct in body cause container-side not on the side, it's on the top.

<body>
    <div id="app">
        <div class="container-side">
            <p>Scan to view on mobile</p>
            <img src="path/to/qrcode.png" />
        </div>
        <div class="container">
            <h1>Mobi.css</h1>
        </div>
    </div>
</body>
xcatliu commented 8 years ago

Hmm, that's a problem, it's a bad design that container and container-side must be the child of body. And also bad to set the body element to display:flex.

I'll think about a new idea.

A related issue: #19

Thanks!

xcatliu commented 8 years ago

Hi @guyskk

I've created a pull-request for this: docs.md

Please take a look if you have time, any advice is welcome.

Thanks!