This is a solution to the Social proof section 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 section depending on their device's screen size
- Solution URL: https://github.com/shamizen/social-proof-section
- Live Site URL: https://shamizen.github.io/social-proof-section/
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
body {
overflow-x: hidden; /* Remove extra space at the right side */
}
.info-container {
flex-grow: 1;
flex-basis: 0; /* Change flex-basis property form auto (default) -> 0 */
}
.review-container {
flex-grow: 1;
flex-basis: 0;
}
-
A Complete Guide to Flexbox - This complete guide explains everything about flexbox, focusing on all the different possible properties for the parent element (the flex container) and the child elements (the flex items). It also includes history, demos, patterns, and a browser support chart.
- Frontend Mentor - @shamizen