Design comparison
SolutionDesign
Community feedback
- @HoaxilogPosted 4 months ago
instead of specifying what is the width of h2 you can try to use display: inline-block so it's not taking all available spaces and you can see the much better result when adding a background-color to your h2 and you will not be having a problem like you have right now in your h2 background hope this help and understandable
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