I\'m creating a CSS button and I\'m trying to make an onclick effect: when the user clicks on the button it would push down the button text by 1px. My problem here is that it\'s
Push down the whole button. I suggest this it is looking nice in button.
#button:active { position: relative; top: 1px; }
if you only want to push text increase top-padding and decrease bottom padding. You can also use line-height.