4
nitwhiz
5d

background-position works relative to its actual size (as in if you scale the background up 2 times, 256px have a whole different position).

like dafuq. how am i supposed to use that with pixels as units?

Comments
  • 0
    What are you actually trying to do?
  • 0
    @alvarlagerlof tranlating a background with size: cover. Pixel values won't scale up, so you've got to use percent. Which sucks.
  • 1
    Wait, i thought you were supposed to avoid absolute values anyway, because they're not guaranteed to translate seamlessly across devices?
  • 0
    @Krokoklemme bullshit, with the right viewport it's going to go right.
    Position absolute for everything is what some devs do which fucks up everything.

    Exception: background-position. Whyever the fuck
Your Job Suck?
Get a Better Job
Add Comment