Logo for website | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Logo for website

I have logo with transparent background in png format. When I add it on web page with background-image, my logo still with "transparent background". How I can fix it?

18th Oct 2021, 11:21 AM
Andrii Tomkiv
3 Answers
+ 2
.logo-selector{ background-color:black; } It will add background to the logo. *better if you mention code link
18th Oct 2021, 11:30 AM
Shubham Ingale
Shubham Ingale - avatar
0
I don’t have problems with background, i can’t add transparebt logo normaly
18th Oct 2021, 11:44 AM
Andrii Tomkiv
0
Use background-size:cover; Or make public a demo code to get that problem solution properly.
19th Oct 2021, 12:08 PM
Divya Mohan
Divya Mohan - avatar