Inline Styled SVG Icons

Size
2,542 Kb
Views
38,456

How do I make an inline styled svg icons?

What is a inline styled svg icons? How do you make a inline styled svg icons? This script and codes were developed by Kendrick Arnett on 11 August 2022, Thursday.

Inline Styled SVG Icons Previews

Inline Styled SVG Icons - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Inline Styled SVG Icons</title> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<style>
body { font-family: 'Open Sans';
}
</style> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='css/rlgxqp.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <svg style="display:none;" xmlns="http://www.w3.org/2000/svg"> <symbol id="icon-check" viewBox="0 0 22 18"> <path fill-rule="evenodd" d="M18.583 0l-10.6 10.6-4.566-4.593L0 9.397l7.983 8.01L22 3.392"/> </symbol>
</svg>
<div class="box"> <svg class="check"> <use xlink:href="#icon-check"></use> <svg>
</div>
<div class="box"> <svg class="check"> <use xlink:href="#icon-check"></use> <svg>
</div>
<div class="box"> <svg class="check"> <use xlink:href="#icon-check"></use> <svg>
</div>
<div class="box"> <svg class="check"> <use xlink:href="#icon-check"></use> <svg>
</div>
<div class="box"> <svg class="check"> <use xlink:href="#icon-check"></use> <svg>
</div>
</body>
</html>

Inline Styled SVG Icons - Script Codes CSS Codes

.check { fill: #fff; width: calc(100% - 4px); height: calc(100% - 4px);
}
.box { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; height: 1rem; width: 1rem; border-radius: 2px; border: 1px solid #cacaca;
}
.box { -webkit-transition: all 150ms; transition: all 150ms;
}
.box:hover { background: rgba(22, 103, 161, 0.4); border: none;
}
.box:active { background: #1667a1; border: none;
}
body, html { height: 100%;
}
body { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center;
}
.box { margin: 0.25rem;
}
Inline Styled SVG Icons - Script Codes
Inline Styled SVG Icons - Script Codes
Home Page Home
Developer Kendrick Arnett
Username kendrick
Uploaded August 11, 2022
Rating 3
Size 2,542 Kb
Views 38,456
Do you need developer help for Inline Styled SVG Icons?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Kendrick Arnett (kendrick) Script Codes
Create amazing captions with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!