Answer the question
In order to leave comments, you need to log in
How to write code for such a background?
How to write code for a background that consists of 3 blocks?
(Code I wrote)
.div{
display : inline-block;
width : 640px
height: 720px;
margin : 0px;
}
#one{
background : #c2e6f2
}
.div{
display : inline-block;
width : 640px
height: 360px;
margin : 0px
}
#two
background : #3d6a9e;
}
.div{
display : inline-block;
width : 640px
height : 360px;
margin : 0px
}
#three{
background : #4c846f
}
.div{
display : inline-block;
width : 640px
height : 360px;
margin : 0px
}
Are there any mistakes here?
Thanks in advance for your replies.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question