Font not transparent | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Font not transparent

The first three animations using <p> have a transparent font with an outer stroke. For some reason with the fourth, using <p2>, the font is showing as black. I can't see where the error is. https://sololearn.com/compiler-playground/WXiP0oMZB3Aa/?ref=app

26th Jan 2024, 5:04 PM
Scott D
Scott D - avatar
2 Antworten
+ 3
instead of defining a p2 tag that the browser may or may not handle as you would like, use a p tag and give it the id "p2" – and refer to the id for styling
26th Jan 2024, 5:50 PM
Lisa
Lisa - avatar
0
Lisa thanks, that works. My css skills need work 🤣
26th Jan 2024, 7:31 PM
Scott D
Scott D - avatar