Code Snippets block Builder
Snippet Block Builder
Paste raw code, get a ready-to-paste reference block. Angle brackets auto-escape for HTML/SVG.
Code Snippets for Reference
.eo-btn-primary {
background: var(--ev-midnight);
color: var(--ev-sand);
border-radius: 999px;
}
PASTE CSS/JS CODE SNIPPET HERE
<svg viewBox="0 0 24 24"><path d="M8 2v4"/></svg>
<!-- ══════════════════════════════════
✦✦✦ SPECIALTY TAGS — for team member cards
Reusable pill style. Duplicate the <span> for each tag, wrap the set in .eo-tag-row per team member.
═══════════════════════════════════════ -->
<style>
.eo-tag-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.eo-tag {
display: inline-block;
color: var(--ev-midnight);
background-color: var(--ev-sand);
font-family: 'Inter', sans-serif;
font-size: 10px;
font-weight: 500;
line-height: 15px;
padding: 6px 14px;
border-radius: 999px;
border: 1px solid rgba(0, 0, 0, 0.1);
}
</style>
<div class="eo-tag-row">
<span class="eo-tag">Contact Lenses</span>
<span class="eo-tag">Ocular Disease</span>
<span class="eo-tag">Myopia Control</span>
</div>
/* BUTTON BLOCK - LEFT ALIGNED
=================================*/
<style>
.multi-button {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.multi-button--left {
justify-content: flex-start;
}
</style>
<div class="multi-button multi-button--left">
<div class="sqs-block-button-container" data-animation-role="button">
<a href="/contact" class="sqs-button-element--primary sqs-block-button-element">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" width="14" height="14" style="vertical-align:-2px; margin-right:6px;">
<path d="M8 2v4"/><path d="M16 2v4"/><rect width="18" height="18" x="3" y="4" rx="2"/><path d="M3 10h18"/>
</svg>
Book Online
</a>
</div>
<div class="sqs-block-button-container" data-animation-role="button">
<a href="/services" class="sqs-button-element--secondary sqs-block-button-element">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" width="14" height="14" style="vertical-align:-2px; margin-right:6px;">
<path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"/>
</svg>
(07) 5593 7844
</a>
</div>
</div>
<!-- ✦✦✦✦✦
SPECIALTY TAGS (for team member cards)
Reusable pill style. Duplicate the <span> for each tag, wrap the set in .eo-tag-row per team member.
✦✦✦✦✦✦ -->
<style>
.eo-tag-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.eo-tag {
display: inline-block;
color: var(--ev-midnight);
background-color: var(--ev-sand);
font-family: 'Inter', sans-serif;
font-size: 10px;
font-weight: 500;
line-height: 15px;
padding: 6px 14px;
border-radius: 999px;
border: 1px solid rgba(0, 0, 0, 0.1);
}
</style>
<div class="eo-tag-row">
<span class="eo-tag">Contact Lenses</span>
<span class="eo-tag">Ocular Disease</span>
<span class="eo-tag">Myopia Control</span>
</div>