+ 1
Text go small and big
I want to make the text go small when i minimize the window and go big when i make the window full the screen.. But when i use the ( font-size ) the text become the same in any mode of window. How can i do that?
2 Antworten
+ 2
You can use units like vh or vw. That will allow you to set font size relatively to window size.
+ 4
//You can use font-size :10vw; instead of px
https://www.w3schools.com/howto/howto_css_responsive_text.asp