Amir.mohamad• 60
@Amirmfth
Posted
i too learned CSS nesting seeing your solution, GOOD job.
Marked as helpful
0
What are you most proud of, and what would you do differently next time?
How to use variable fonts in CSS
@font-face {
font-family: Figtree;
src: url("/assets/fonts/Figtree-VariableFont_wght.ttf") format("truetype");
font-weight: 500 800;
font-style: normal;
}
First time I used native CSS nesting with BEM
.card{
...
.card__image {
...
}
.card__content {
...
}
.card__author {
...
}
}
@Amirmfth
Posted
i too learned CSS nesting seeing your solution, GOOD job.
Marked as helpful
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