I'm just getting started with neat and I'm working on the admin page for a site. I'm just trying to recreate a pretty standard page where the settings show up in the center of the screen, and I'm just curious how you do this with neat.
In the past I probably would have done this by setting margin-left: auto;
and margin-right: auto
on most of the elements I wanted centered.
Here's what I have so far:
<!-- admin.html -->
...
<div class="settings">
<div id="instagramLogin">
<h3>Instagram</h3>
<a href="https://instagram.com/.....">Sign in with Instagram</a>
</div>
</div>
...
//admin.scss
.settings{
@include span-columns(4);
@include shift(4);
}
#instagramLogin{
@include shift(2);
}
It looks right visually, but it just seems like the wrong thing to be doing.