This is a solution to the Equalizer 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 depending on their device's screen size
- See hover states for interactive elements
- Solution URL: Frontend Mentor Solution
- Live Site URL: Vercel-hosted demo site
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- Website - Matt Pahuta
- Frontend Mentor - @MattPahuta
- Twitter - @MattPahuta
As always, thanks to the great Kevin Powell for a wealth of guidance, tips, and tricks for all things HTML and CSS, including this bit of CSS to easily hide content that's meant for accessibility purposes only. I use this all the time.
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}