@Alex-Archer-I
Posted
Hi!
Very cool find =)
I struggled with this task too and ended up with calc(0.9rem + 0.1vw)
, but clamp()
seems better as it maintain max value as well.
Great work at all =)
@porumbachanov
Posted
@Alex-Archer-I Thanks! At first I played around with calc()
too and tried to eyeball the size, but I wanted to have a max value as well because it stretches too much and looks weird. clamp()
made things easier and did exactly what I wanted :D.
@Alex-Archer-I
Posted
@Vrondir
It even can take a calc()
as one of parameters! Very flexible function =)