Take a Percentage

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

A humorous code snippet from a major news site shows a CSS padding-bottom value of 57.14285714285714% — an unrounded floating-point percentage calculated from a 560:320 video ratio. The author notes there's nothing technically wrong with it, but jokes about the absurdity of sub-pixel precision that would only matter on

1m read timeFrom thedailywtf.com
Post cover image

Sort: