Css | SoloLearn: Learn to code for FREE!



I'm in trouble with a code I need to change the background color of all my paragraphs only on my third div if anyone can help I will be thankful!

10/16/2017 6:29:49 AM

Alex B Munson

10 Answers

New Answer


( ̄ー ̄) Sound like you don't know how to use Sololearn....anyway You want to select all paragraph which in third div right? Else pls tell Also is your code similar to this? https://code.sololearn.com/W3u9wOLw7Koj/?ref=app


Can you post it here instead? It would be easier Well I want to know that you confuse nth-of-type or na


hm? that already select all paragraphs and set background color isn't it? ok I'll try to be active tomorrow


Well to make me know what you code look like Is in the day that append winter in the hell So show the css code or even full code please


is there a way I can send it to you as a picture? I have it in sublime


ok what I tried to do is work with div:nth-of-type(3) p { background-color: #bdc3c7}




that's how it looks well the code haha


hard I will send it to you tomorrow morning thanks alot I just forgot to add it


yes all that is all change with a all command body { background-color } I have a rule for all p to be an specific color but I need to overwrite does p on the 3 div without touching the html file other I will just add them a class