Home>Article>Web Front-end> css font controls multiple transformations of fonts

css font controls multiple transformations of fonts

青灯夜游
青灯夜游 forward
2021-01-02 09:31:00 1942browse

css font controls multiple transformations of fonts

Tutorial recommendation:css video tutorial

CSS font properties define the font family, size, boldness, style (such as italics) and Deformed (such as small caps) font-family controls fonts. Since the fonts installed in each computer system are different, there are basically three fonts: Heibody, Songti, and Microsoft Yahei.

font-sizeControl the font size. When we set the font size, we set its width and height. Generally, the default font size of the computer system is 16px, so the font size should not be lower than 16px. 1em=16px;

font-weight: bold;/*The control font weight is generally 100-900. Commonly used lighter (fine body) normal (normal) bold bold*/

As for thisfont-style, the default is normal, which is normal. If you set font-style: italic; italic, it is actually the same as this907fae80ddef53131f3292ee4f81644bd1c6776b927dc33c5d9114750b586338 The effect is almost the same; if the line-height used for the spacing between text is equal to the height, it will be vertically centered.

Usually the abbreviation of font font: font:style weight size/line-heigt font-family /*The two requirements that must appear are size and font-family*/

     css常用样式font字体的多种变换  
技术为王世界,欲问青天山顶景色是否独好技术为王世界, 欲问青天山顶景色是否独好技术为王世界,欲问青天山顶景色是否独好技术为王世界, 欲问青天山顶景色是否独好技术为王世界,欲问青天山顶景色是否独好技术为王世界, 欲问青天山顶景色是否独好技术为王世界, 欲问青天山顶景色是否独好技术为王世界,欲问青天山顶景色是否独好

Technology is king world, I want to ask if the scenery on the top of Qingtian Mountain is the king of technology, I want to ask whether the scenery of Qingtian Peak is the king of technology. If the technology is the king of the world, I would like to ask whether the scenery on the top of Qingtian Mountain is the king of the world. Is the scenery good?

About style inheritance Question/*Styles related to text will be inherited*/The code is shown below:

    index  

linux php linux

linux linux php linux

linux linux php linux

linux linux php linux

For more programming-related knowledge, please visit:Programming Teaching! !

The above is the detailed content of css font controls multiple transformations of fonts. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete