@AutumnsCode
Posted
Since I am not really good in clamp(). However, you could use :root and declare the font-sizes there. and then use underneath a mediaquery afterward.
:root {
/* Padding and font-sizes */
--size-1: 0.25rem;
--size-2: 0.5rem;
--size-3: 0.75rem;
--size-4: 0.75rem;
--size-5: 0.875rem;
--size-6: 0.875rem;
--size-7: 1.25rem;
--size-8: 1.25rem;
--size-9: 1.5rem;
}
@media (width >= 25rem) {
:root {
--size-2: 1rem;
--size-4: 0.875rem;
--size-6: 1rem;
--size-8: 1.5rem
}```
``@font-face`` looked good. Just you don't need two src :)
Well done
Marked as helpful