Design comparison
SolutionDesign
Solution retrospective
Perfect challenge for me!
Just had some problems with the 2 little icons. Cant seem to center them correctly.
Can someone help me?
Community feedback
- @FelipeCastroDEVPosted about 2 years ago
you can make that align manual using padding-right in the icon element and background-repeat for the image doesn't duplique
span.eth { background: url(img/icon-ethereum.svg) no-repeat; height: 18px; width: 18px; display: inline-block; padding-right: 2px; }
span.clock { background: url(img/icon-clock.svg) no-repeat; width: 18px; height: 18px; padding-right: 6px; display: inline-block; }
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