C
C
Codarsis2014-06-05 13:24:51
HTML
Codarsis, 2014-06-05 13:24:51

Is using the height and width properties set in pixels a good practice in terms of responsive layout?

Guys, I'm making up my first template. Tell me, is it bad practice to use the height and width attributes and set their values ​​​​in pixels (in particular, for the section tag)? For me, this is the simplest and most obvious solution to many of my problems, but I do not use these properties, because I am afraid that my layout will spread on, say, a mobile phone screen.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Golumenov, 2014-06-05
@Codarsis

I use rem, it's easier to scale
css-tricks.com/rems-ems

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question