Skip to content

Frontend mentor challenge built with HTML, CSS and JavaScript

Notifications You must be signed in to change notification settings

Mudi-Igbinoba/article-preview-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Article preview component solution

This is a solution to the Article preview component challenge on Frontend Mentor.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the component depending on their device's screen size
  • See the social media share links when they click the share icon

Screenshot

Article preview component

Links

My process

Built with

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

What I learned

Learned how to make a tooltip arrow using the ::after pseudo element

.share::after {
    content: '';
    position: absolute;
    top: 99%;
    border: 15px solid #000;
    filter: drop-shadow(0px 8px 3px hsla(212, 23%, 69%, 0.199));
    border-color: hsl(217, 19%, 35%) transparent transparent transparent;
}

Continued development

Need to improve my responsive web design skills

Author

About

Frontend mentor challenge built with HTML, CSS and JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages