+ 9
How to make image link for css?
I want to add photo through css so how can i make link for css
9 Respuestas
+ 4
.image { background-image:url(https://imageyouchose.com/images.png); }
+ 3
Use imgur for images it's Best choice and use in css try this _
Background:url(image_link);
+ 3
Thanks
+ 2
If you just need the link for the photo, then I have a recommendation for a website to upload the photo and get a link. I think that https://postimages.org/ is a good website to do this. I've used this for every image on my phone that I've used for coding so far.
I also recommend that you don't add the image straight from CSS. With that, it adds a background image. Because of this, I recommend using HTML for editing. Also, if you are on a computer an not on Sololearn while coding, as long as you have the file and image in the same folder, you can just type in the name of the image file.
I hope this helps! Have fun coding! ʕっ•ᴥ•ʔっ(◕ᴗ◕✿)
+ 1
You need to wrap an img tag with an anchor tag. In HTML. Not CSS
+ 1
Thanku soooo muchhh sir
+ 1
💫Preet Raghuvanshi💫 bro ( ≧Д≦) I feel honored. Thanks.
+ 1
Sir i posted one photo i seen many links which one should i copy
+ 1
Just wrap img tag within anchor tag like this :
<a href="#">
<img src="......." alt="......">
</a>