CSS Tutorial in Hindi [Part 33] - CSS Pseudo-elements

preview_player
Показать описание
In this video i will talk about Pseudo elements in CSS.

What are Pseudo-Elements?
A CSS pseudo-element is used to style specified parts of an element.

For example, it can be used to:

Style the first letter, or line, of an element
Insert content before, or after, the content of an element

The ::first-line pseudo-element is used to add a special style to the first line of a text.

The ::first-letter pseudo-element is used to add a special style to the first letter of a text.

The ::before pseudo-element can be used to insert some content before the content of an element.

The ::after pseudo-element can be used to insert some content after the content of an element.

The ::selection pseudo-element matches the portion of an element that is selected by a user.
Рекомендации по теме
Комментарии
Автор

sir hover ko ja neke liya kya pesudo element janna kya jaruri hai

RantimAcharjee
Автор

Sir sarkari result ki trah Jo main page hota h usko kaise banaye

rcreation
Автор

hover upar kuch vedio banyenge requuest

RantimAcharjee
Автор

Sir yeah lecture ki total kitne part hai...

mayankmayur