Skip to content

KajaDabrowska/Loopstudios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Loopstudios landing page solution

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

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

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Grid
  • HTML: desktop-first, CSS: mobile-first

What I learned

  • For z-index to work the element must have a set position or be a flex item.
.element-with-index {
  position: relative;
  z-index: -1;
}
  • Negative z-index on an element can mess up hover on elements that are children of it. (Or at least that's what seems to have caused the problem in my project?)