Get the App
SLTechnology News&Howtos  ›  Development  › 

How to write a CSS font

Shulou Source: shulou.com Published: 2022-06-03 07:49:40 11月15日 Update

This article shows you how to write a CSS font, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

I happened to see this way of writing CSS font in a book.

Font:12px/1.6

Did not understand what it means, asked, a lot of people do not know, tried several times

I see:

The font size is 12px.

Line spacing is 1.6em

That is to say, it is equivalent to:

Font-size:12px

Line-height:1.6em

The above is how to write a CSS font. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Tags: Font writing content skills knowledge concise concise that is that is representative size meaning article more article industry line spacing information information channel Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Information Shulou Tech Info Microsoft Redmi