1

4k phones are still new in the market, but I suppose it's only a matter of time the tech becomes more widespread. Should I be concerned when it comes to designing responsive websites?

Is there any other unit of measure that I should use that's not px to avoid issues in the future or are my worries unfounded?

2 Answers2

5

Short answer: Your worries are probably unfounded.

Longer answer: I don't know the exact specs of some 4k phones, but the interpreted CSS-resolution of smartphones these days is in most cases much lower than the physical resolution. (see this thread about device pixel ratio). 4k phones will just have a much higher device pixel ratio. So if your responsive websites work on devices like the iphone 5 or 6, they will probably also do well on 4k phones.

That said, to be at least somehow future proof, I advise to follow best practices. Some examples:

johnnydoe82
  • 249
  • 5
  • 16
0

You should use % instead of px and use em for font-size