Css | SoloLearn: Learn to code for FREE!

+1

Css

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

+5

( ̄ー ̄) 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

+5

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

+4

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

+3

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

0

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

0

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

0

https://code.sololearn.com/WEFNJB5f1gvi/?ref=app

0

that's how it looks well the code haha

0

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

0

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