If you wish to create an automated slideshow layout, follow the steps indicated.

Create a Raw HTML, and copy and paste the following HTML code and change the elements highlighted in blue.

<div id="slider">
<figure>
<img src="/static/chiot1.jpg" alt>
<img src="/static/chiot2.jpg" alt>
<img src="/static/chiot3.jpg" alt>
</figure>
</div>
<style type="text/css">
@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}
div#slider { overflow: hidden; }
div#slider figure img { width: 20%; float: left; }
div#slider figure {
position: relative;
width: 500%;
margin: 0;
left: 0;
text-align: left;
font-size: 0;
animation: 30s slidy infinite;
}
</style>

Login to leave your feedback!

Leave a Reply

You must be logged in to post a comment.