It also assumes that in the body selector, the value of the font size property is set to 1em.
它还假设在正文选择器中,字体大小属性的值被设置为1em。
Listing 5 shows the font size property for the body selector as 1 em.
清单5显示正文选择器的字体大小属性为1em。
Assume the default base font of 16px has been reduced to 62.5% for the body selector, shown in Listing 4.
假设正文选择器的默认基本字体16px变为原来的62.5%,如清单4所示。
A child font size in one selector becomes a parent font size in another selector in the lower level in the hierarchy of selector sets.
其中一个选择器中的子字体大小,将成为处于选择器集合中较低层次的另一个选择器的父字体大小。
For example, at the top of the CSS file, the body HTML selector redefines the font and background color of the entire browser application page.
例如,在CSS文件的顶部,bodyHTML选择符重新定义整个浏览器应用程序页面的字体和背景颜色。
You can reduce this font size by assigning 62.5% to the font-size property of the body selector (also known as the block-level element) like shown in Listing 2.
通过为正文选择器(body selector,也称为块级元素)的font-size属性分配 62.5% 的值可以减小这个字体大小,如清单 2 所示。
Next, I apply the result to the font-size property in the p selector, as shown in Listing 8.
接下来,将把结果应用到p选择器的font-size属性中,如清单 8 所示。
Next, I apply the result to the font-size property in the p selector, as shown in Listing 8.
接下来,将把结果应用到p选择器的font-size属性中,如清单 8 所示。
应用推荐