+ 3

How to add more background-colors in HTML?

Can you explain how to add more background-colors in html? Like... A half of the file being blue and a half being black.

6th Dec 2018, 2:55 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
7 Respostas
6th Dec 2018, 3:36 PM
dρlÏ…Ń•ÏlÏ…Ń•
dρlÏ…Ń•ÏlÏ…Ń• - avatar
+ 6
Yes dρlÏ…Ń•ÏlÏ…Ń• that is what I want to do.
6th Dec 2018, 3:37 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 3
Bebida Roja can you give me an example? I want to make a page looking like a book , first page black , second to n page grey and the last one black again.
6th Dec 2018, 3:18 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 2
Alex, then you should mark d plus plus answer as best instead
6th Dec 2018, 4:17 PM
Gordon
Gordon - avatar
+ 1
you could use box-shadow for this.
6th Dec 2018, 3:14 PM
Bebida Roja
Bebida Roja - avatar
+ 1
box-shadow: inset 10px 0 red; will show the inner workings of it.
6th Dec 2018, 3:32 PM
Bebida Roja
Bebida Roja - avatar