Designer News
Where the design community meets.
Web Developer Joined almost 8 years ago
Oh, nice, thanks for pointing that out.
Yeah, for what it's worth Bootstrap uses px and Foundation uses ems.
Ha, a bit dramatic, but point taken. I generally fly solo, so I haven't run into that issue.
Ah, thanks for pointing that out! I forgot to include that function... I've updated the post to include it. Essentially it's a custom function to deal with a fallback for browsers that don't support RGBA. Rather than just falling back to a solid color, it uses some logic to lighten the original color in proportion to the percentage that is passed.
I enjoyed this far too much than I should have!
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
Good call on using a loop. I've updated that. For the clearfix, I'm assuming you're recommending a placehoder selector? I going to look more into that, it does seem to be the recommended way.