+ 4

I had seen a web page in which every thing was written in a white box and box was above the background image.....

sry i m not remembering that site...

23rd May 2017, 3:08 PM
A N S H U L S I N G H
A N S H U L   S I N G H - avatar
4 ответов
+ 12
<div class = "container"> <!-- Content --> </div> <style> body { background-color: #000; } .container { background-color: #555; } </style> Now, you have a container with some elements above the background of your body. PS - Naturally, you have to modify dimensions of container and other stuff. :3
23rd May 2017, 3:18 PM
Maz
Maz - avatar
+ 7
@Anshul, read gradients section in HTML course for this
23rd May 2017, 3:42 PM
Sachin Artani
Sachin Artani - avatar
+ 3
Can i add multiple background color with gradual drop.....like it goes from blue color to red....or any other
23rd May 2017, 3:21 PM
A N S H U L S I N G H
A N S H U L   S I N G H - avatar
+ 1
ohhk...thnk u so much
23rd May 2017, 6:02 PM
A N S H U L S I N G H
A N S H U L   S I N G H - avatar