How to add landscape background image In half of the page? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to add landscape background image In half of the page?

I mean that under the menu .

19th Mar 2020, 4:42 PM
Haileyesus Mestie
Haileyesus Mestie - avatar
2 Answers
0
Thanks it worked ;
22nd Mar 2020, 6:21 AM
Haileyesus Mestie
Haileyesus Mestie - avatar
+ 2
Haileyesus Mestie hello, You choose the element which will contain that background and then use CSS to insert the image , ex: *Html part: <section> <!--Some texts or other things--> here </section> *CSS part: section{ background-image:url("www.pixabay.com/someimage.jpg"); } There are some CSS lessons about it in Sololearn>> https://www.sololearn.com/learn/CSS/1104/ And about the size you can define your height of section and or the background size... https://www.sololearn.com/learn/CSS/2244/
20th Mar 2020, 1:14 AM
EmmanueLZ.
EmmanueLZ. - avatar