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" )
No description
5 Replies
AliNiaz
AliNiazOP7mo ago
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?
Mannix
Mannix7mo ago
have you tried playing with vertical-align property?
MarkBoots
MarkBoots7mo ago
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
AliNiaz
AliNiazOP7mo ago
let me try it out i watched kevin's video about that
AliNiaz
AliNiazOP7mo ago
thanks
No description

Did you find this page helpful?