How correctly to impose the buttons?

How correctly to impose the buttons? Using padding or width, height, or no difference?
July 2nd 19 at 13:22
4 answers
July 2nd 19 at 13:24
To impose, including the buttons so that it:
a) consistent with the layout
b) not break when you transfer the unit to another location.

And then your imagination.
July 2nd 19 at 13:26
this is usually the case that does not matter : codepen.io/Geyan/pen/oYGEqb?editors=110
July 2nd 19 at 13:28
I usually typeset button addingly, because how long will the text of that button in a different place or in the future, nobody knows. Decide to change the button text on longer and everything will go.
July 2nd 19 at 13:30
To impose - as painted by the designer.

In General, it is better not to put the height and width, and dance on the text size. Then there is a chance it will look decent when enlarged font and on all devices without special dances with a tambourine.

Find more questions by tags HTMLCSS