+ 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!

16th Oct 2017, 6:29 AM
Alex B Munson
Alex B Munson - avatar
10 Answers
+ 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
16th Oct 2017, 7:12 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 5
Can you post it here instead? It would be easier Well I want to know that you confuse nth-of-type or na
16th Oct 2017, 6:54 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 4
hm? that already select all paragraphs and set background color isn't it? ok I'll try to be active tomorrow
16th Oct 2017, 7:59 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 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
16th Oct 2017, 6:40 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
0
is there a way I can send it to you as a picture? I have it in sublime
16th Oct 2017, 6:53 AM
Alex B Munson
Alex B Munson - avatar
0
ok what I tried to do is work with div:nth-of-type(3) p { background-color: #bdc3c7}
16th Oct 2017, 7:03 AM
Alex B Munson
Alex B Munson - avatar
16th Oct 2017, 7:40 AM
Alex B Munson
Alex B Munson - avatar
0
that's how it looks well the code haha
16th Oct 2017, 7:41 AM
Alex B Munson
Alex B Munson - avatar
0
hard I will send it to you tomorrow morning thanks alot I just forgot to add it
16th Oct 2017, 7:54 AM
Alex B Munson
Alex B Munson - avatar
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
16th Oct 2017, 8:03 AM
Alex B Munson
Alex B Munson - avatar