The browser only supports the minimum font-size: 12px. What should I do if I need a smaller font? Will the space be affected?

  1. transform: scale() None of the properties of
    transform do not change the layout of page elements. It is possible to encounter the problem that the original text is offset after being reduced.

  2. zoom
    If you don’t want the elements to take up space, you can use zoom and the corresponding box model space will also be reduced

おすすめ

転載: blog.csdn.net/qq_41867900/article/details/134055861