Skip to content

wellington-damasio/sunnyside_landing_page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Sunnyside agency landing page solution

This is a solution to the Sunnyside agency landing page challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the site depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Interact with the mobile menu button and see navigation throgh that

Screenshot

Links

My process

Built with

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

What I learned

Using ::before to add the underline effects in the links

.content > .link::before {
    content: '';
    position: absolute;
    bottom: -3px;
    width: calc(100% + 16px);
    left: -8px;
    height: 10px;
    background-color: var(--color);
    z-index: -1;
    border-radius: 10px;
    opacity: 0.3;
    transition: opacity 200ms ease-out;
}

.content > .link:hover::before {
    opacity: 0.7;
}

Continued development

I want to use more Grid CSS in my development, sometimes Grid is way more efficient than Flexbox. I experimented with CUBE CSS in this project. But it didn't work so well, so I mostly sticked with BEM methodology

Author

About

Frontend Mentor Junior Challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published