Why is the font in the button smooth than in the div?

enter image description here

Look at these buttons. On the left you see a stylized div, and on the right - the enter button. The font size is the same, but in the button, the font looks a bit flattened. Look at the letters "k" and "w".

What do I need to do so that this font does not smooth out?

+4
source share
1 answer

Does <button> really use a different font than <div> ? Or is it bold?

Set font-family and font-weight to identical values ​​for <div> and <button> , and see if they look the same.

+1
source

Source: https://habr.com/ru/post/1347348/


All Articles