Answers for "css how to place an icon on a photo"

0

css how to place an icon on a photo

.container { position: relative; }
.container img { display: block; }
.container .fa-download { position: absolute; bottom:0; left:0; }
Posted by: Guest on July-28-2020
0

css how to place an icon on a photo

<link href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" rel="stylesheet"/>

<div class="container">
   <img src="https://placekitten.com/300/300">
   <a href="dog.png" download="new-filename"><i class="fas fa-download"></i></a>
</div>
Posted by: Guest on July-28-2020

Code answers related to "css how to place an icon on a photo"

Browse Popular Code Answers by Language