Check out this Pen!
The thing about the CSS margin property, or any positional properties, to make it consistently works, especially on Firefox, you must set the initial value with number (px, em, percentage, or pt). If you didn't set the value as number, for instance auto, it won't work (on Firefox - but still works on webkit). That is all.
No comments:
Post a Comment
Tell me what you think...