?& lttitle & gtCSS3? Demonstration ;& lt style? type=\"text/css \" " />
Current location - Health Preservation Learning Network - Healthy weight loss - Div+css browser pages shrink, how can fonts shrink?
Div+css browser pages shrink, how can fonts shrink?
& lt! DOCTYPE? HTML & gt?

& lthtml & gt?

& lthead & gt?

& ltmeta? charset="UTF-8 " >?

& lttitle & gtCSS3? Demonstration ;

& lt style? type="text/css " >

# Box? {? Width:? 10em; ? Fill:? 15px; ? Font size:? 1em; }

#box2? {? Font size:? 4vw}

& lt/style & gt;

& lt/head & gt;

& ltbody & gt

& ltdiv? id = " box " & gt

Ni Hao? Answer? Hello? UH huh? UH huh? Three cow dung paintings

& lt/div & gt;

& ltdiv? id="box2 " >

We are all good children.

& lt/div & gt;

& lt script? type = " text/JavaScript " & gt;

window.onresize? =? Function () {

var? box2? =? document . getelementbyid(" box 2 ");

box2.style["z-index"]? =? 1;

}

& lt/script & gt;

& lt/body & gt;

& lt/html & gt;