CSS style - percentage vs em vs px? [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . 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