3 ms·
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-
by zachrose 14y 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"?
- hhaidar 14y agoIt'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;