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.
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
- Solution URL: https://github.com/AmanGupta1703/Loopstudios-Landing-Page-FEM
- Live Site URL: https://loopstudios-landing-page-fem.vercel.app/
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
.card {
cursor: pointer;
background-position: center center;
background-size: cover;
width: 100%;
height: 18vh;
-webkit-transition: all 0.5s ease;
transition: all 0.5s ease;
overflow: hidden;
position: relative;
}
.card::before {
-webkit-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.card:hover::before {
content: '';
background-color: rgba(255, 255, 255, 0.8);
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
.card:hover .card__title {
color: var(--color-black);
}
.card:not(:last-child) {
margin-bottom: 2rem;
}
- Website - Loopstudios Landing Page
- Frontend Mentor - @AmanGupta1703
- Twitter - @thekunalgupta17