Include additional variable for ratio for example:
base-size: 1em
base-ratio: 1.5
Use ratio for calculating picture sizes and fonts as well...
Single img selector that uses calc will do:
img {
height: calc(100% *var(--base-ratio));
}
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
When I change the font size it doesn't change the pictures size also ..
I'm looking for a way to zoom out everything !
Include additional variable for ratio for example:
base-size: 1em
base-ratio: 1.5
Use ratio for calculating picture sizes and fonts as well...
Single img selector that uses calc will do:
img {
height: calc(100% *var(--base-ratio));
}