Design comparison
SolutionDesign
Solution retrospective
Quite a challenge again, I need to improve with my responsive layout
Things I have learned
1. background property
- background-color: rgba | rgb | hsl | hsla | # (hex)
- background-image: (default: none) | url()
- background-position: left | center | right .. | 10% .. | 10 px .. | top left | center bottom
- background-size: auto | cover | contain | 50 px .. |
- background-repeat: (default: repeat) | no-repeat | repeat-x | repeat-y
- background-origin: (default: padding-box) | border-box | content-box
- background-clip: (default: border-box) | padding-box | content-box
- background-attachment: (default: scroll) | fixed | local
2. flexbox "stair-case" component
parent container has
width
property as well as display: flex
and its children:
first child align-self: flex-start
second child align-self: center
third child align-self: flex-end
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord