CSS style - percentage vs em vs px? [closed]
After reading several articles on the web I´m a bit confused about when to use percent , em or px for div´s , input´s , font´s , buttons and so on... For the site I´m working on we wan´t to add a responsive design, and from what I understand from different articles than percent is the way to go for elements and div´s . But than I get confused because I´m thinking that I should be able to get a responsive design even if I use px för layout and than set different width, height in px depending on device/screen resolution...? And is there a best practice for when to use what? And not only for