Please when I have uploaded the background picture to my code how do I resize it to be the size o f my code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please when I have uploaded the background picture to my code how do I resize it to be the size o f my code

Html and css

23rd Aug 2019, 6:28 PM
Marvelousobi
Marvelousobi - avatar
1 Answer
+ 6
//css div { height:13rem;width:13rem; border-radius:50%; background-image:url("https://api.sololearn.com/Uploads/Avatars/11320609.jpg"); background-repeat: no-repeat ; } <!-- html --> <div style=" height:13rem;width:13rem;border-radius:50%;background-image:url('https://api.sololearn.com/Uploads/Avatars/11320609.jpg');background-repeat:"> no-repeat ; } </div>
23rd Aug 2019, 7:05 PM
Jella
Jella - avatar