0

How to use logo pic in div button?

I want to use home logo pic in div class button.

29th Sep 2022, 5:34 AM
Shagufta Nasrin
3 Réponses
+ 1
just write div tag and give a class inside div tag add a button inside button u can add image
29th Sep 2022, 5:57 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Your questions is not clear. However according to your statement. it would look like this. <div class="button"> </div> css .button { background-image: url(path); } Replace "path" with the image's URL within the site. For example, if the image "logo.jpg" is in your site's "images" folder, change the code to: background-image: url(/images/logo.jpg);
30th Sep 2022, 9:43 PM
Chris Coder
Chris Coder - avatar
0
Put an image inside a div? You can message me if you don't find a solution
30th Sep 2022, 2:52 PM
Ishak
Ishak - avatar