0
How to add two colours by dividing the webpage into two sections
8 Réponses
+ 5
☺ All right. Gradients are your friend then. Look at this code I just wrote. Look at the CSS part and then run it... Let's talk about any question you have in the comments of the code ☺
https://code.sololearn.com/W9Tq85AE0cTe/?ref=app
+ 3
you can seperate the page into two halves (in width or in height) with two div elements set to 50% each with different background colors. if that's what you are asking.
+ 3
Do you really want to divide the webpage into two? Or are you doing so cause you don't know how to add two colors without dividing them?
+ 3
Are we good then? Did you understand how it works?
+ 2
sure. just adjust the percentages depending on how big the units are going to be.
+ 1
yeah that's the thing😂😂😂....???
+ 1
@cyk 🙏
0
thanks for the answer.....can i inrease the divisable units