How to customize background image size ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to customize background image size ?

body { text-align:center ; background-image:url("https://thumbs.gfycat.com/CraftyCircularBeauceron-max-1mb.gif") ; position:center ; color:red; }

7th Jun 2022, 1:32 AM
Abinash Saikia
Abinash Saikia - avatar
5 Answers
7th Jun 2022, 1:18 PM
Calviղ
Calviղ - avatar
+ 1
use the CSS properties Hight and width. and use for background background-repeat: no-repeat; background-attachment: fixed; background-size: 100% 100%; background-size: cover;
7th Jun 2022, 1:43 AM
Rahmatullah Danish
Rahmatullah Danish - avatar
+ 1
Ok I will try
7th Jun 2022, 4:59 AM
Abinash Saikia
Abinash Saikia - avatar
+ 1
Nice
7th Jun 2022, 1:20 PM
Abinash Saikia
Abinash Saikia - avatar
+ 1
Thank you so much 🔥🔥
7th Jun 2022, 1:20 PM
Abinash Saikia
Abinash Saikia - avatar