Should .centered include display:block !important; ? #55

Closed
p-j opened this Issue Mar 21, 2013 · 3 comments

2 participants

@p-j

As the title says, if you use .centered on something different than a div, it may not work.

I was trying this :

<div class="row">
    <input class="one centered mobile third padded" type="submit" value="Sign Up">
</div>

But the .centered had no effect since in _buttons.scss there is on line 9 display: inline-block;

Am I doing it wrong ? Should I use only divs for placement, or should display: block !important; be added to .centered ?

@ghepting
Groundwork CSS member
@ghepting
Groundwork CSS member
@p-j

Ok, I ended up doing it differently, but it's good to know for the future. Thanks for the quick reply ;-) And thanks for making this toolkit available to all !

@p-j p-j closed this Mar 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment