Submitted almost 2 years ago
Responsive Single Price Grid Using HTML and CSS Flexbox
@ahmedsaliuGit
Design comparison
SolutionDesign
Solution retrospective
Which other way can I position 'per month' after the price amount so, that it lines up very well
Community feedback
- @Owczarek-KamilPosted almost 2 years ago
Hey @ahmedsaliuGit
For centering 'per month' I would use quick flexbox as following:
.subscription-price { display: flex; align-items: center; } and to create gap between '$29' and 'per month' I would just use margin-left.
I am a beginner myself, so I am not sure if it is the best solution :)
0
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