Align text wrap with before pesudo elemet icon.
I had mentioned the image i want the text to be aligned the upper line first character but it is below the icon.
the icon is set as ::before of the <p>.
(I used font awesome icon "f1b0" )
5 Replies
I know to make a position relative and absolute do some top and left properties with it but is there any better way than that?
have you tried playing with
vertical-align
property?I don't know in what context this snippet goes, but you could do it with a <ul> list and the icon as a li marker
let me try it out i watched kevin's video about that
thanks