nowfound

Life & fun · March 30, 2013

CSS with no px units

I recently built a new template for my rather basic WordPress blog. I wanted to avoid using px units wherever possible, so that I could have a design that would scale uniformly across multiple device resolutions. It started as an experiment, to see how far I could get without px units. The more I learned, the more excited my campaign to eliminate px from the stylesheet. I ended up eliminating px units entirely. Everything is sized with vw units (relative to the width of the viewport). The last remaining px units were sizing standard Facebook and Twitter buttons. I got frustrated by not being…

CSS with no px units launched on March 30, 2013 with 8 votes, #151 of 671 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 13 years on.

What it does

The idea came in a fit of lust for a new commuter, and the Ninja was a logical casualty. It wasn

I bought the bike in 2008, with no miles on the odometer. I didn’t have my license, but I knew the brand-new 2008 Ninja 250 — in flirtatious “candy plasma blue” — should be mine, and would be mine. I signed a big check and left her at the dealer for a couple of weeks while I made myself a worthy (and licensed) suitor. That was more than seven years ago, and just a few months later I started this blog. I imaginatively titled it Ninja 250 Blog , and didn’t mind that I’d branded myself into a corner. Even after evolving into The Sunday Best , I was sure the blog would always have Mighty. But early this week I sold the bike, with 62,000 miles on the…from thesundaybe.st

In the maker’s words, at launch

I recently built a new template for my rather basic WordPress blog. I wanted to avoid using px units wherever possible, so that I could have a design that would scale uniformly across multiple device resolutions. It started as an experiment, to see how far I could get without px units. The more I learned, the more…

Does a similar job

all alternatives →
  • Layers2015 · layerswp.com · ▲322

    A simple Wordpress site builder & its free forever

  • Winamp and other media players, rebuilt for the web with Web Components2024 · player.style · ▲392

    Hey all, creator of Video.js and co-founder of Mux & Zencoder here. My team and I built this. I hope you like the themes we’ve built so far, and maybe even get inspired to build your own. I know Web Components are in a bit of a drama cycle right now. I’m happy to see them get any attention really. I’ve been pretty bullish on them since ~2013 when I started working with them, at least in the context of a widget like a video player. I’ve even given many related talks on them like this one (https://www.youtube.com/watch?v=N6Mh84SRoDg). I would never push them for a large app or…

  • Layout - No One's Trying to Make a Shitty Website2016 · layout.fm · ▲67

    How to work and collaborate with developers

  • CSS UnitsAug 2026 · cssunits.com · ▲3

    A complete interactive reference to every CSS unit

  • My imageless one page website, thanks to CSS32011 · colin-gourlay.com · ▲7

    I recently rebuilt my website as digital business card, which serves a simple purpose: Say hello, then point people in the direction of the places I inhabit on the web. At the time I was playing around with the HTML5 boilerplate and Google web fonts, and it inspried me to try to implement the logos of the sites I link to with CSS rather than images. You can view it at: http://colin-gourlay.com/ You'll need a modern browser to see the effects in action, but if you're still using IE6/7/8,I hope you can still appreciate the degraded appearance! Is it effective? Are CSS + custom fonts not quite…

  • CSSUnitConverterJan 2026 · px2rem.com · ▲5

    Bulk CSS Unit Converter online for free.

More life & fun this month

the category →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, March 2013

the whole month →