Sign in
Log inSign up
Dita Izaty

2 comments

Oye Ibrahim
Oye Ibrahim
Sep 16, 2022

Interesting read, thanks for sharing. So from what I understand here is that the ::before add content before the text within the div while ::after add content after the text . eg

<div> ::before Hello! ::after </div>

·
·1 reply
Dita Izaty
Dita Izaty
Author
·Sep 17, 2022

Yes, that's correct; thank you for reading, Oye.. I'm glad if that was useful

·