<div class="container">
<div class="arrow"></div>
<div>
html, body {
width: 100%;
height: 100%;
}
.container {
background-color: black;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.arrow {
max-width: 10em;
height: 100px;
width: 100%;
background: background: rgb(75,255,250);
background: linear-gradient(90deg, rgba(75,255,250,1) 47%, rgba(43,147,144,1) 47%, rgba(43,147,144,1) 100%);
clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%);
background-size: 500px 10px;
background-position: -300px 0px;
display: flex;
align-items: center;
justify-content: flex-start;
transition: all linear .6s;
}
.arrow:hover {
background-position: 0px;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.