0

Pseudo element(css) is not working. Error explained in description. Please let me know.

When I use content=' '; in pseudo element, it's not working. When I put content='xxxx'; it's showing in the display. This is the code that I have problem: https://code.sololearn.com/WfF8MykPpmxS/?ref=app I triend my best I can. I check the code, it's perfect. But I don't know what's the problem is. If anybody knows. Please comment below. I will try it and tell you the result.

4th Sep 2021, 7:45 PM
Gowsaljan V
Gowsaljan V - avatar
5 odpowiedzi
+ 3
Can you please link your code?
4th Sep 2021, 8:02 PM
Lisa
Lisa - avatar
+ 3
4th Sep 2021, 10:59 PM
Lisa
Lisa - avatar
+ 2
Try to give some height and width And position:absolute ;
5th Sep 2021, 2:31 AM
Pariket Thakur
Pariket Thakur - avatar
0
This is the code that I have problem: https://code.sololearn.com/WfF8MykPpmxS/?ref=app
4th Sep 2021, 9:11 PM
Gowsaljan V
Gowsaljan V - avatar
0
Those people who recommended the solution, thanks. Lisa, I used that code in that website (just copy&paste). It's little bit working but, the opacity affects the text.😕
5th Sep 2021, 4:59 AM
Gowsaljan V
Gowsaljan V - avatar