📝 Added sandbox (code sketchbook)
This commit is contained in:
parent
b475595f7f
commit
b5daf18b1a
142 changed files with 100702 additions and 0 deletions
26
sandbox/codepens/slider/index.html
Normal file
26
sandbox/codepens/slider/index.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>Test Slider</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="stylesheet" href="//unpkg.com/a11y-slider@latest/dist/a11y-slider.css" />
|
||||
</head>
|
||||
<body>
|
||||
<ul class="slider">
|
||||
<li>1</li>
|
||||
<li>2</li>
|
||||
<li>3</li>
|
||||
<li>4</li>
|
||||
</ul>
|
||||
<script src="//unpkg.com/a11y-slider@latest/dist/a11y-slider.js"></script>
|
||||
<script>
|
||||
const slider = new A11YSlider(document.querySelector('.slider'), {
|
||||
adaptiveHeight: true,
|
||||
dots: false
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue