Current location - Health Preservation Learning Network - Healthy weight loss - How css controls font enlargement and reduction by percentage
How css controls font enlargement and reduction by percentage
The materials to be prepared are: computer, browser and html editor.

1. First, open an html editor and create a new html file, such as index.html.

2. In index.html

3. When the browser runs the index.html page, the font size of span is set to 80% of the font size of h 1.