Compass svg gradient

Size
2,897 Kb
Views
20,240

How do I make an compass svg gradient?

Compass needs to add multi-stop support to the base64 svg background images.. What is a compass svg gradient? How do you make a compass svg gradient? This script and codes were developed by Seth Broweleit on 14 October 2022, Friday.

Compass svg gradient Previews

Compass svg gradient - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Compass svg gradient</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="d1"> <p>the background with multiple stops</p>
</div>
<div class="d2"> <p>the base64 svg generated by compass</p>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>

Compass svg gradient - Script Codes CSS Codes

div { display: inline-block; width: 45%; height: 200px; background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzZiNzE4MCIvPjxzdG9wIG9mZnNldD0iMThweCIgc3RvcC1jb2xvcj0iIzE0MWYzNyIvPjxzdG9wIG9mZnNldD0iMThweCIgc3RvcC1jb2xvcj0iIzAxMGUyOSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAxMGUyOSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='); background-size: 100%; background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #6b7180), color-stop(18px, #141f37), color-stop(18px, #010e29), color-stop(100%, #010e29)); background-image: -moz-linear-gradient(top, #6b7180 0%, #141f37 18px, #010e29 18px, #010e29 100%); background-image: -webkit-linear-gradient(top, #6b7180 0%, #141f37 18px, #010e29 18px, #010e29 100%); background-image: linear-gradient(to bottom, #6b7180 0%, #141f37 18px, #010e29 18px, #010e29 100%);
}
p { padding: 0 9px; color: #fff;
}
.d2 { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzZiNzE4MCIvPjxzdG9wIG9mZnNldD0iMThweCIgc3RvcC1jb2xvcj0iIzE0MWYzNyIvPjxzdG9wIG9mZnNldD0iMThweCIgc3RvcC1jb2xvcj0iIzAxMGUyOSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAxMGUyOSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==");
}
Compass svg gradient - Script Codes
Compass svg gradient - Script Codes
Home Page Home
Developer Seth Broweleit
Username getsetbro
Uploaded October 14, 2022
Rating 3
Size 2,897 Kb
Views 20,240
Do you need developer help for Compass svg gradient?

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!

Seth Broweleit (getsetbro) Script Codes
Create amazing Facebook ads 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!