This is a website that shows a blog article preview using dynamic font sizing and global colors.
- Live Site URL: Blog preview
- Semantic HTML5 markup
- CSS custom properties and fonts
- CSS responsive transition animations
- Flexbox
- Web-first workflow
I learned how to add custom fonts in CSS which are defined in my project folder using the @font-face
rule.
@font-face {
font-family: "Figtree";
src: url("../assets/fonts/Figtree-VariableFont_wght.ttf") format("truetype-variations");
font-weight: 100 900;
}
@font-face {
font-family: "Figtree";
src: url("../assets/fonts/Figtree-Italic-VariableFont_wght.ttf") format("truetype-variations");
font-weight: 100 900;
font-style: italic;
}
- LinkedIn - Geylan Kalaf Mohe