dkaffes• 140
@dkaffes
Posted
--marg-bott-s: 1rem; --marg-bott-l: 1.5rem;
0
Looking to hire developers?
I used custom properties to handle two different margin-bottom
values:
--marg-bott-l: 1.5rem;
I used these two values for many CSS declarations.
Is there any other more efficient way to declare the same margin-bottom
value to multiple elements?
In terms of accessibility, are there any important missing bits?
@dkaffes
Posted
--marg-bott-s: 1rem; --marg-bott-l: 1.5rem;
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord