Skip to content

Plut0r/blogr-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Blogr landing page solution

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

Table of contents

Overview

FEM Blogr Landing Page

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

Screenshot

desktop-preview desktop-preview desktop-preview desktop-preview mobile-preview mobile-preview mobile-preview mobile-preview mobile-preview mobile-preview

Links

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox

What I learned

To stop the contents of the toggled navbar from pushing the content down.

.navbar-brand {
  position: absolute;
  z-index: 1;
  width: 100%;
}

To get rid of whitespace in screens lesser than desktop width.

@media screen and (max-width: 900px) {
  * {
    overflow-x: hidden;
  }
}

Author

Acknowledgments

Stackoverflow helped me with getting rid of whitespace and the toggling issue.

About

Frontend mentor challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published