when I was reading the article today, I saw a piece of code that I didn"t quite understand, so I would like to ask for advice here.
article address:
https://www.cnblogs.com/azhai.
Code snippets that you don"t understand:
docEl.style.fontSize = 20 * (clientWidth / 320) + "px";
Why can the above code find the font-size? of the root element? Thank you