Edrol97
Bronze Coder
Hi All,
Been trying to figure this out. I have several navigationbar div IDs on my webpage as they are different styles. One thing I want them all to do is shrink the font size as a window becomes smaller so that they scale fully. This is the css I have for the navigationbar styles.
Help is as always very appreciated.
All the best,
Eliot
Been trying to figure this out. I have several navigationbar div IDs on my webpage as they are different styles. One thing I want them all to do is shrink the font size as a window becomes smaller so that they scale fully. This is the css I have for the navigationbar styles.
CSS:
#navigationbar,
#timesnavigationbar,
#timesnavigationbar,
#sunnavigationbar a {
font-size: clamp(0.5rem, 2.5vw, 2rem);
}
Help is as always very appreciated.
All the best,
Eliot