Set font size using px

Example analysis:

Use px in the font-size attribute to set the text size, which can completely control the text size.

px: pixel (a point on the computer screen)

Description: px is an absolute unit, specifying the absolute size.

Continuing Learning
||
php中文网(php.cn)

This is heading 1

This is heading 2

This is a paragraph.

允许在 Internet Explorer 9, Firefox, Chrome, Opera, 和 Safari 中通过缩放浏览器调整文本大小。

注意:这个例子在 IE9之前的版本不工作。

submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!