How to make padding:auto work in CSS?
I am working on a legacy project that has CSS Reset with *{ margin:0;
padding:0 } applied to everything. Now, my new code doesn't need that as
it relies on Normalize.css. This hasn't been much of a problem but at some
places I need to use both styles.
How do I unreset my CSS? I have been able to do *{margin:auto} which works
fine. The same isn't true about padding. *{ padding:auto } doesn't work.
How do you go about solving this?
No comments:
Post a Comment