Look at these buttons. On the left you can see a styled div, but on the right is an input button. Font-sizes are the same, but in the button the font is like it's flattened a little bit. Look at the letters "k" and "w". 开发者_JAVA技巧
What do I have to do to make this font not flatten?
Is the <button>
actually using a different font than the <div>
? Or is it bold?
Set font-family
and font-weight
to identical values for the <div>
and the <button>
, and see if they look the same then.
精彩评论