Feels strange to have single decimal places in your inch figures. I’d have expected something like eighths, sixteenths and thirty-seconds of inches, even though the decimal representation of them is unwieldy (1⁄32″ becomes 0.03125in). That also helps you avoid fractional pixels, which is worth doing if convenient: 1⁄32″ is 3px, because 1in is defined as 96px.<p>(As an Australian, the main place I’ve ever seen fractions of inches is old tools like spanners from before the adoption of the metric system, and that’s all fractions with powers-of-two denominators. But maybe Americans use decimal fractions of inches? I suppose I have seen laptop screens described in that way, e.g. 13.1″, 15.4″ and 15.6″, though people typically truncate to the inch.)
I'm no web dev, so feel free to improve upon it. Think I got the proportions right though.<p><div class="usa-stars" style="height:134;width:190;float:left;"></div><p><div class="usa-stripes-horizontal" style="height:250;width:475;"></div>
Coming to US after living in UK for a few years, what astonished me was not the fact that US is using the imperial system, but the US Gallon is different to the UK Gallon...!
As an European this is really cool and unlike others self-loathing Americans here in the comments I understand the idea, humor and originality.
Happy 4th USA, you are great today due to the greatness of your forefathers and the men that built this nation.
Good to see some patriotism in a time when American patriotism has become faux pas. We live in a great country that doesn't need to be completely deconstructed in order to get better
What are some reasons to use inch units in screen-based CSS, aside from this kind of project?<p>Edit: Removed all sentiment to my profile, leaving a beautifully rational shell of a comment.
It's cute that this library is 1776 bytes, but that's quickly going to change as bugs are found and new features need to get added. It seems like coupling a product's name to something that will likely change very shortly is just bad product naming.
I can't tell if this is intended to be serious or a parody? "All units set in inches" makes it sound like a parody, but the "God bless America" footer makes it sound serious? Hmmm
Only a true American patriot who is deeply devoted to the nation's ideals would zealously protect a system of units that has been thrown in the dustbin of history by the rest of humanity.