What is First-line pseudo-element in CSS?

Questions by Bessie   answers by Bessie

Showing Answers 1 - 3 of 3 Answers

Suresh

  • Apr 2nd, 2007
 

The "first-line" pseudo-element is used to add special styles to the first line of the text in a selector:


Syntax:

selector:pseudo-element {property: value}

CSS classes can also be used with pseudo-elements:


selector.class:pseudo-element {property: value}

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions