See this link: https://css-tricks.com/a-little-reminder-that-pseudo-elements-are-children-kinda/