0

who can use an image for the overall background of your web page

<style> body { background-image: url('https://solo-learn.com/img/364728-647528-g175gu-8258jpg'); background-repeat: no-repeat; background size: cover; text-align:center; } </style>

16th Nov 2023, 3:37 PM
Chukwu Peter Ekene
Chukwu Peter Ekene - avatar
2 Answers
+ 5
<style> body { background-image: url('https://assets.sololearn.com/success-story-1.jpg'); background-repeat: no-repeat; background size: cover; text-align:center; } </style>
17th Nov 2023, 3:25 PM
JaScript
JaScript - avatar