Design comparison
SolutionDesign
Solution retrospective
Hi,
How to reduce the gap between the City and the horizontal line?
Thanks, Gowsalaya
Community feedback
- @codewithpedroPosted over 2 years ago
Hi Gowsalaya,
I looked over your html and css code and they look solid. As for your problem I would suggest to give your profile a negative margin.
profile { //some code here margin: -30px; }
Here's the solution over at stackOverflow
https://stackoverflow.com/questions/5229081/positionrelative-leaves-an-empty-space#:~:text=The%20element%20still%20takes%20up,elements%20float%20beside%20each%20other.&text=%22and%20you%20can't%20get,like%20in%20the%20plang's%20answer.
Marked as helpful0
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