Resetting left and right paddingto zero helps, but leaves the link 2px wider.
This is due to the fact that the user agent applies the chrome elements box-sizing: border-boxto button, which means that paddingwill be included in width, and not in addition to it.
Setting box-sizing: content-boxin your class also eliminates this 2px difference.
See the demo .
source
share