@CamronWithrow
Posted
Hi!
I used flexbox as well for this challenge. To get the red "unread-notification" icon, I used ::after
to style an icon after the notification message.
Using your classes, I think it would look something like this:
.unread .notiftext::after { content: ""; height: 0.25rem; width: 0.25rem; background-color: red; border-radius: 50%; }
Marked as helpful
@oseji
Posted
Thanks for the tip@CamronWithrow