Adam Schwartz

Results 57 comments of Adam Schwartz

@joaocunha Good points. Only thing I’d just caveat is that doing non-integer multiples of the base font size (whatever that ends up as in this `em` world), could produce non-pixel-fitted...

I might not have been clear but I was originally commenting on the `16px` and `24px` sizes used in your original example. The analogous thing in your latest example would...

It’s not easy to tell, but in your example, the `.3em` and `.6em` margins will not center the icon properly. Here’s a quick example which exhibits the issue more clearly:...

Hey @afzalsayed96 thanks so much! This potion should either be removed or re-written to use the CSS `flex` and `order` properties rather than the `` element. Taking a crack at...

I appreciate the effort! But in light of [this recent HN thread](https://news.ycombinator.com/item?id=15634650) I decided it was probably overdue to we start recommending `flex` for content ordering instead.

Yeah I believe that's due to a (now-fixed) bug in the way `rem` units were handled in media queries. Closing for now, but please re-open if you see this in...

Thanks! Great catch. Glad Mozilla fixed these. 👍 Although, these may [reasonably be viewed as duplicates](https://bugzilla.mozilla.org/show_bug.cgi?id=63895#c117) of each other. I agree we should mention that they’re now fixed. Want to...

Off the top of my head, there are three pretty solid approaches to solving the so-called “Sticky Footer” problem, to which I assume you’re referring: 1. [Use flexbox](https://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/). One advantage...

@samhogg totally agree that this should be included. Thanks for the suggestion.

Could be related: This: ```css th { border-bottom: 1px solid; } th, td { padding: 1em; } th { padding-bottom: .5em; } ``` Is minified to: ```css th { border-bottom:...