<a href="#" class="link link--1">Link 1</a>
<a href="#" class="link link--2">Link 2</a>
<a href="#" class="link link--3">Link 3</a>
<a href="#" class="link link--4">Link 4</a>
<a href="#" class="link link--5">Link 5</a>
<a href="#" class="link link--6">Link 6</a>
$spacing: 6px;
.link {
text-decoration: none;
color: #444;
&:hover {
color: #EB5757;
}
}
.link--1 {
&::after {
padding-left: $spacing;
content: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' height='9' width='5' viewBox='0 0 5 9'%3e%3cpath d='M3.07 4.38L.1 1.18a.38.38 0 0 1 0-.51L.63.1a.33.33 0 0 1 .5 0l3.77 4c.07.08.1.17.1.27 0 .09-.03.18-.1.25L1.12 8.64a.33.33 0 0 1-.49 0L.1 8.08a.38.38 0 0 1 0-.5l2.97-3.2z'/%3e%3c/svg%3e");
}
}
.link--2 {
&::after {
content: '';
margin-left: $spacing;
width: 5px;
height: 9px;
display: inline-block;
background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5 9"><path d="M3.07 4.38L.1 1.18a.38.38 0 0 1 0-.51L.63.1a.33.33 0 0 1 .5 0l3.77 4c.07.08.1.17.1.27 0 .09-.03.18-.1.25L1.12 8.64a.33.33 0 0 1-.49 0L.1 8.08a.38.38 0 0 1 0-.5l2.97-3.2z"/></svg>');
}
}
.link--3 {
&::after {
content: '';
margin-left: $spacing;
width: 5px;
height: 9px;
display: inline-block;
background-image: url("https://cdn.rawgit.com/mhauken/d60ae17d872aa719a6b85b2355fd84be/raw/40a7dcc14678569cfb08e0cfd432e82f16e78672/arrow.svg")
}
}
.link--4 {
&::after {
content: '';
margin-left: $spacing;
width: 5px;
height: 9px;
display: inline-block;
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' height='9' width='5' viewBox='0 0 5 9' fill='currentColor'%3e%3cpath d='M3.07 4.38L.1 1.18a.38.38 0 0 1 0-.51L.63.1a.33.33 0 0 1 .5 0l3.77 4c.07.08.1.17.1.27 0 .09-.03.18-.1.25L1.12 8.64a.33.33 0 0 1-.49 0L.1 8.08a.38.38 0 0 1 0-.5l2.97-3.2z'/%3e%3c/svg%3e");
}
&:hover {
&::after {
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' height='9' width='5' viewBox='0 0 5 9' fill='%23EB5757'%3e%3cpath d='M3.07 4.38L.1 1.18a.38.38 0 0 1 0-.51L.63.1a.33.33 0 0 1 .5 0l3.77 4c.07.08.1.17.1.27 0 .09-.03.18-.1.25L1.12 8.64a.33.33 0 0 1-.49 0L.1 8.08a.38.38 0 0 1 0-.5l2.97-3.2z'/%3e%3c/svg%3e");
}
}
}
.link--5 {
&::after {
content: '';
margin-left: $spacing;
width: 5px;
height: 9px;
display: inline-block;
background-color: currentColor;
mask-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' height='9' width='5' viewBox='0 0 5 9' fill='currentColor'%3e%3cpath d='M3.07 4.38L.1 1.18a.38.38 0 0 1 0-.51L.63.1a.33.33 0 0 1 .5 0l3.77 4c.07.08.1.17.1.27 0 .09-.03.18-.1.25L1.12 8.64a.33.33 0 0 1-.49 0L.1 8.08a.38.38 0 0 1 0-.5l2.97-3.2z'/%3e%3c/svg%3e");
}
}
.link--6 {
&::after {
content: '';
margin-left: $spacing;
width: 8px;
height: 12px;
display: inline-block;
background-color: currentColor;
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='8' height='12' viewBox='0 0 8 12' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0)' fill='none'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0H0v12h8V0zM1.12 2.35L4.68 6 1.12 9.65a.42.42 0 0 0 0 .59l.64.64c.16.16.42.16.59 0l4.53-4.59a.41.41 0 0 0 0-.58L2.35 1.12a.41.41 0 0 0-.6 0l-.63.64a.42.42 0 0 0 0 .59z' fill='%23fff'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='clip0'%3e%3cpath fill='%23fff' d='M0 0h8v12H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e");
}
}
body {
font-family: 'IBM Plex Sans', sans-serif;
display: grid;
justify-content: center;
align-items: center;
grid-template-columns: repeat(3,1fr);
text-align: center;
height: 100vh;
}
View Compiled
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.