开发者

Why is font in a button flatter than in a div?

Why is font in a button flatter than in a div?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜