showcar-ui
Version:
Showcar-ui is the pattern library that is used to build the frontend of AutoScout24. It provides CSS classes, custom elements and components.
35 lines (29 loc) • 754 B
Markdown
<h2>Link with icon<span class="status approved">Approved</span></h2>
You can always place an icon inside of link element and style it accordingly.
Use `sc-link-with-icon` class for color styling. Position and size of icon is up to you, but you may take this as example:
<pre>
<code class="css">
.sc-link-with-icon--example {
margin-top: 0;
padding: $L;
text-align: right;
as24-icon {
width: $L;
height: $L;
margin-right: $XS;
}
}
</code>
</pre>
<style>
.sc-link-with-icon--example {
margin-top: 0;
padding: 16px;
text-align: right;
}
.sc-link-with-icon--example as24-icon {
width: 16px;
height: 16px;
margin-right: 4px;
}
</style>