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.
5 odpowiedzi
+ 3
Can you please link your code?
+ 3
Maybe you can adjust their example for your code:
https://www.makeuseof.com/how-to-use-before-and-after-pseudo-elements-in-css/
+ 2
Try to give some height and width
And position:absolute ;
0
This is the code that I have problem: https://code.sololearn.com/WfF8MykPpmxS/?ref=app
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.😕