Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div style="background-color: transparent; margin-top: 5px; fill: #FFE9F9;">
- <div class="wavy-svg-wrap">
- <div class="wavy-svg-container">
- <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1332 90" preserveAspectRatio="none" class="animated"><defs></defs><path class="cls-11" d="M1165.5,27.76c-91.14,31.56-186.69,51.59-283,34.91C813.85,50.79,748.33,24.26,678,22a499.49,499.49,0,0,0-149.3,17.59c-49.87,13.84-96.84,28.6-149.13,29.05-51.79.46-103.28-8.57-153.1-22.19-20.21-5.53-40.2-11.84-60-18.69A509.62,509.62,0,0,0,0,0V90H1332V0A509.62,509.62,0,0,0,1165.5,27.76Z"></path></svg>
- <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1332 90" preserveAspectRatio="none" class="animated"><defs></defs><path class="cls-11" d="M1165.5,27.76c-91.14,31.56-186.69,51.59-283,34.91C813.85,50.79,748.33,24.26,678,22a499.49,499.49,0,0,0-149.3,17.59c-49.87,13.84-96.84,28.6-149.13,29.05-51.79.46-103.28-8.57-153.1-22.19-20.21-5.53-40.2-11.84-60-18.69A509.62,509.62,0,0,0,0,0V90H1332V0A509.62,509.62,0,0,0,1165.5,27.76Z"></path></svg>
- </div>
- </div>
- </div>
- <style>
- @keyframes mymove {
- 0% {
- transform: translateX(0);
- }
- 100% {
- transform: translateX(-100%);
- }
- }
- .wavy-svg-wrap {
- position: relative;
- z-index: 0;
- margin-bottom: -3px;
- width: 100%;
- height: 100px;
- overflow: hidden;
- }
- .wavy-svg-container {
- display: flex;
- position: absolute;
- bottom: 0;
- transform: scaleY(1);
- transition: transform 1s ease;
- z-index: 3;
- transform-origin: 50% 100%;
- }
- .wavy-svg-container .animated {
- animation: mymove 5s infinite;
- animation-duration: 10s;
- animation-timing-function: cubic-bezier(0.22, 0.33, 0.86, 0.76);
- }
- .wavy-svg-container svg {
- transition: fill 300ms;
- transition-property: fill;
- transition-duration: 300ms;
- transition-timing-function: ease;
- transition-delay: 0s;
- margin-left: -1px;
- width: 300vw;
- height: 100px;
- vertical-align: middle;
- }
- </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement