Skip to content

This is a website that shows a blog article preview using dynamic font sizing and global colors

License

Notifications You must be signed in to change notification settings

GeylanKalafMohe/web-blog-preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog preview card

This is a website that shows a blog article preview using dynamic font sizing and global colors.

Table of contents

Overview

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties and fonts
  • CSS responsive transition animations
  • Flexbox
  • Web-first workflow

What I learned

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;
}

Author

About

This is a website that shows a blog article preview using dynamic font sizing and global colors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published