@ShivangamSoni
Posted
Well there are plenty of ways to do that.
- Setting all the fonts using
rem
. Then usingmedia query
you can adjust theroot font-size
- Using Viewport Width (
vw
) to set the fonts this way it automatically adjusts based on Viewport Width. I have seen this used in some websites. - Using
clamp
you can set a min, max & preferred value for the fonts, like thisfont-size: clamp(1rem, -0.875rem + 8.333vw, 3.5rem);
You can learn more about this Here
Marked as helpful
@Wali1209
Posted
Thanks a lot, @ShivangamSoni This information is new to me I'm gonna try all these three methods.
@Wali1209
Posted
Hi, @ShivangamSoni I like the CSS clamp() function and I also modify this project to add some responsive topography thnx to you.
@ShivangamSoni
Posted
@Wali1209 Nice Work.
Marked as helpful
@Wali1209
Posted
@ShivangamSoni My GitHub Pages site is currently being built don't know why is taking so long but thnx for the advanced compliment :)
@ShivangamSoni
Posted
@Wali1209 I think there some issue with GitHub today. My projects GitHub Page deployment also took too long & failed a dew times.
You might wanna try to initiate a redeployment.
Marked as helpful
@Wali1209
Posted
@ShivangamSoni Yeah I tried the same thing and it works now my page is online again