Answers for "svg logo css"

8

using svg in html

<img src="image.svg" />
Posted by: Guest on July-28-2020
0

html logo svg

<!--Made By Yasin -->
<!-- Bootstrap is a nice library for css/icons/svg's heres is an example 
		of a home button-->

<!-- First import the library with html or css (i prefer html)-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">

<!-- Then add the home button,you can use the <i> tag to add icons or the
    <svg> tag -->

<!-- <i> tag example-->
<i class="bi bi-house-door"></i>

<!-- or use the svg -->
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-house-door" viewBox="0 0 16 16">
  <path d="M8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4.5a.5.5 0 0 0 .5-.5v-4h2v4a.5.5 0 0 0 .5.5H14a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146zM2.5 14V7.707l5.5-5.5 5.5 5.5V14H10v-4a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v4H2.5z"/>
</svg>
<!-- Made By Yasin -->
Posted by: Guest on September-06-2021

Browse Popular Code Answers by Language