DEV Community

Discussion on: Selecting and manipulating CSS pseudo-elements such as ::before and ::after using JavaScript (EASY WAY)

Collapse
 
rjitsu profile image
Rishav Jadon

Wow this is genius! I could never think of this🤯. Amazing ridhik👍

Collapse
 
ridhikgovind profile image
Ridhik Govind

Hehe thanks Rishav ;-) . It took me a day to figure this trick out but it was worth it I guess.