Hacker News new | ask | show | jobs
by zachrose 4822 days ago
Ok, this is only tangentially related, but does anyone know why it's "background-repeat: no-repeat" instead of "none"? Or why it's "text-wrap: none" but "white-space: nowrap" or "white-space: pre-wrap"?
1 comments

It's because you're able to define all the background styling in one line:

background: #000 url(pic.png) no-repeat;

So having background-repeat: none; would conflict with background/background-image: none;