This is a solution to the Bookmark 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
- Receive an error message when the newsletter form is submitted if:
- The input field is empty
- The email address is not formatted correctly
- Solution URL: https://www.frontendmentor.io/solutions/bookmark-landing-page-using-flexbox-6ERWrdYiV
- Live Site URL: https://bookmark-landing-page-zeta-liart.vercel.app/
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- SASS preprocessor
- BEM methodology
With this challenge, I learned to manipulate SVGs in order to change their color with the fill
and stroke
CSS properties.
.logo {
path {
transition: .25s ease-in-out;
}
circle {
transition: .25s ease-in-out;
}
&--all-white {
path {
fill: #ffffff;
&:last-child {
fill: $very-dark-blue-transparent;
}
}
circle {
fill: #ffffff;
}
}
&--white-wording {
path {
fill: #ffffff;
}
}
}
- Accessible SVGs - Nice explanation on how to make inline SVGs accessible.
- Menu "Hamburger" Icon Animations - Some examples of animated burger menu icon.
- Website - Thibault Barrat
- Frontend Mentor - @thibault-barrat
- Twitter - @Thib_Bar