Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.76 KB

README.md

File metadata and controls

63 lines (41 loc) · 1.76 KB

Frontend Mentor - Blog preview card solution

This is a solution to the Blog preview card challenge on Frontend Mentor.

Table of contents

Overview

The challenge

Users should be able to:

  • See hover and focus states for all interactive elements on the page

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow

What I learned

I learned how to scale the font size with the browser size using CSS clamp(), for example:

h1 {
    /* 22px - 24px */
    font-size: clamp(1.375rem, 1.3393rem + 0.1786vw, 1.5rem);
}

Useful resources

Author