Home › Forums › CSS › setting border-top of the paragraph › Re: setting border-top of the paragraph
March 13, 2012 at 6:22 pm
#98980
Senff
Participant
Not sure if that’s true @joshuanhibbert! Since we’re targeting the first line IN a P-element, I believe that makes it a pseudo element.
A pseudo class would target the P-element itself (like P:first-child
).
I may be wrong here, but that’s how I always understood it.