@Rohan00001Submitted over 2 years ago
Ashley Stone
@asha12562All comments
- @asha12562Posted over 2 years ago
Congrats on submitting your first challenge! Some reason your preview on here looks different but the actual site looks good, well done! Keep up the good work, you'll get addicted to submitting more challenges
0 - @Jasper-IkSubmitted over 2 years ago
How can I a text say with an image or an icon as I have tried on several design aside this using the vertical align ..did not work, had to struggle looking for other options
@asha12562Posted over 2 years agoHey, Nice work and good effort on the challenge.
For the small icons before the text, instead of having a span with the image and text. The solution I arrived at was to have the text in HTML and then use the pseudo element '::before' in CSS. This way you are able to place the icon before the text using 'content: url(/);'.
Hope this helps, keep up it up!
Marked as helpful0