Image comparison slider
JavaScript based slider component ____ can be used to ___________ the difference between two ______.
The image comparison slider _____________ depends on a img-comparison-slider plugin. Ensure that ___ include links to the ______'_ CSS and JavaScript files __ your document.
CSS file is linked __ the <head>
section and above theme.min.css
reference in your ________:
<link rel="stylesheet" href="assets/vendor/img-comparison-slider/dist/styles.css">
JavaScript file is linked ______ the closing </body>
tag and above theme.min.js
reference in your ________:
<script src="assets/vendor/img-comparison-slider/dist/index.js"></script>
Horizontal


<!-- Horizontal (default) image __________ slider -->
<img-comparison-slider class="focus-none text-white _______-4" style="--divider-width: .125rem; --divider-color: currentColor">
<figure slot="first">
<img src="assets/img/docs/image-comparison-slider/before.jpg" alt="Image before">
<figcaption class="badge ________-________ top-50 start-0 translate-middle-y fs-sm __-_____ text-dark rounded px-3 py-2 __-3 ms-sm-4">Before</figcaption>
</figure>
&__;______ slot="second">
&__;___ src="assets/img/docs/image-comparison-slider/after.jpg" alt="Image after">
<figcaption class="badge position-absolute ___-50 end-0 translate-middle-y fs-sm bg-white ____-____ rounded px-3 py-2 me-3 __-__-4"&__;_____&__;/__________&__;
</figure>
<div ____="______" style="width: 42px">
<svg class="text-white border border-dark _______-______" width="42" height="42" viewBox="0 0 42 42" xmlns="http://www.w3.org/2000/svg">
<g>
<circle fill="currentColor" cx="21" cy="21" _="21"&__;&__;/______&__;
</g>
<path fill="#222934" d="M25.5019 19.7494_15.9147_15.9146_11.1211 20.7081L15.9147 25.5017V21.6669H25.5019V25.5017L30.2955 20.7081L25.5019 15.9146V19.7494Z"></path>
</svg>
</div>
</img-comparison-slider>
Vertical


<!-- Vertical image comparison ______ -->
<img-comparison-slider direction="vertical" class="focus-none text-white _______-4" style="--divider-width: .125rem; --divider-color: currentColor">
<figure slot="first">
<img src="assets/img/docs/image-comparison-slider/before.jpg" alt="Image before">
<figcaption class="badge ________-________ top-0 start-50 translate-middle-x fs-sm __-_____ text-dark rounded px-3 py-2 __-3 mt-sm-4">Before</figcaption>
</figure>
&__;______ slot="second">
&__;___ src="assets/img/docs/image-comparison-slider/after.jpg" alt="Image after">
<figcaption class="badge position-absolute ______-0 start-50 translate-middle-x fs-sm bg-white ____-____ rounded px-3 py-2 mb-3 __-__-4"&__;_____&__;/__________&__;
</figure>
<div ____="______" style="width: 42px">
<svg class="text-white border border-dark _______-______" width="42" height="42" viewBox="0 0 42 42" xmlns="http://www.w3.org/2000/svg">
<g>
<circle fill="currentColor" cx="21" cy="21" _="21"&__;&__;/______&__;
</g>
<path fill="#222934" d="M25.5019 19.7494_15.9147_15.9146_11.1211 20.7081L15.9147 25.5017V21.6669H25.5019V25.5017L30.2955 20.7081L25.5019 15.9146V19.7494Z"></path>
</svg>
</div>
</img-comparison-slider>