Tailwind css | Sololearn: Learn to code for FREE!
0

Tailwind css

What can be the reason if my bg colour property is not visible in the output

25th Jun 2024, 7:39 AM
Dailywin🙌😶‍🌫️🫣
Dailywin🙌😶‍🌫️🫣 - avatar
3 odpowiedzi
+ 1
Perhaps you've written it incorrectly...? Can you attach your code for someone to check? https://sololearn.com/compiler-playground/Wek0V1MyIR2r/?ref=app
25th Jun 2024, 8:20 AM
Ausgrindtube
Ausgrindtube - avatar
+ 1
A quick check would be to check if your bg property is being over shadowed by another style as CSS uses "Cascading": Example 1 - inline styles are top preference than external stylesheets. Example 2 - individual element style take preference over parent element inherited styles. Anyway you don't need to copy your ENTIRE code, you should be able to write a minimum example reproducing the bug you are getting when asking in coding forums. Sometimes building that example actually ends up clearing your doubts. If you still think the code is huge, try putting up a GitHub repo link.
26th Jun 2024, 7:37 PM
scientist
scientist - avatar
0
How to post angular files code, it's huge?
25th Jun 2024, 8:30 AM
Dailywin🙌😶‍🌫️🫣
Dailywin🙌😶‍🌫️🫣 - avatar