CSS CSS Selectors Advanced Selectors Pseudo-Elements - ::before and ::after

Rouillie Wilkerson
Rouillie Wilkerson
10,406 Points

::before, not working as indicated. https://w.trhou.se/zdg5bwtmty

I've copied the same code as Gil, but not getting the same results. I can't seem to figure out what's going wrong, here.

1 Answer

Diego Vogel
Diego Vogel
9,678 Points

Hi Rouillie,

Looks like there were some issues in style.css. The first rule didn't have a closing bracket and some of the pseudo-element selectors had a space between "::" and the pseudo-element name.

Here's a snapshot with the corrected CSS: https://w.trhou.se/ud40hoywui

Rouillie Wilkerson
Rouillie Wilkerson
10,406 Points

Nope. I cut and pasted yours. Still not working.

Rouillie Wilkerson
Rouillie Wilkerson
10,406 Points

Ah, I went back in and took it apart. I get it. Thank for your help!

Diego Vogel
Diego Vogel
9,678 Points

Great! Glad you got it figured out.