MOTOSHARE ๐Ÿš—๐Ÿ๏ธ

Rent Bikes & Cars Directly from Owners

Motoshare connects vehicle owners with people who need bikes and cars on rent. Owners earn from idle vehicles, and renters get flexible ride options.

Visit Motoshare

How to use generated content at run time dynamically with the ::before and ::after pseudo-elements in CSS?

CSS

It is used to generated content at run time dynamically with the ::before and ::after pseudo-elements, to insert generated content.

Ex:-

p::before { content: โ€œHello DevOpsSchool}

  • normal
  • none
  • counter
  • attr(attribute)
  • string
  • open-quote
  • close-quote
  • no-open-quote
  • no-close-quote
  • url(url)
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x