+ 1

any one knows what are these = ::before and ::after

commonly in websites betwen html tags

7th Mar 2021, 9:25 AM
AmirhosseinYazdani
AmirhosseinYazdani - avatar
2 Réponses
+ 4
psuedo selectors whose properties you can't access using js but they can be used in css to add some content before and after a element . They are displayed as inline by default . You can do a quick search to find examples like such, https://developer.mozilla.org/en-US/docs/Web/CSS/::before
7th Mar 2021, 9:31 AM
Abhay
Abhay - avatar
+ 1
thanks was good enough.
7th Mar 2021, 9:53 AM
AmirhosseinYazdani
AmirhosseinYazdani - avatar