Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <head>
  <meta charset="UTF-8">
  <title>Happy CSSer-5 / Music Player / UI Designed by Guillaume Parra</title>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
  <link rel="stylesheet" href="./style/css/index.css">
</head>

<body>
  <h1 class="title__ui">Music Player</h1>
  <div class="box_view">
    <header>

      <nav class="nav__header">
        <i class="fa fa-chevron-left" aria-hidden="true"></i>
        <i class="fa fa-search" aria-hidden="true"></i>
      </nav>

      <h1>Music Collection</h1>

      <nav class="nav__filter">
        <ul>
          <li>Artists</li>
          <li class="active">Albums</li>
          <li>Songs</li>
        </ul>
      </nav>

    </header>

    <div class="view__container">

      <ul class="ul__music">
        <ul class="music__byName">
          <span class="first_word">A</span>
          <div class="box__music">
            <li class="music__detail">
              <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg" alt="">
              <div class="detail__text">
                <span class="album">Fat Freddy's Drop album long long</span>
                <span class="artist">Based on a True Story</span>
              </div>
            </li>
            <li class="music__detail">
              <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg" alt="">
              <div class="detail__text">
                <span class="album">Fat Freddy's Drop album long long</span>
                <span class="artist">Based on a True Story</span>
              </div>
            </li>
          </div>
        </ul>
        <ul class="music__byName">
          <span class="first_word">B</span>
          <div class="box__music">
            <li class="music__detail">
              <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg" alt="">
              <div class="detail__text">
                <span class="album">Fat Freddy's Drop album long long</span>
                <span class="artist">Based on a True Story</span>
              </div>
            </li>
            <li class="music__detail">
              <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg" alt="">
              <div class="detail__text">
                <span class="album">Fat Freddy's Drop album long long</span>
                <span class="artist">Based on a True Story</span>
              </div>
            </li>
            <li class="music__detail">
              <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg" alt="">
              <div class="detail__text">
                <span class="album">Fat Freddy's Drop album long long</span>
                <span class="artist">Based on a True Story</span>
              </div>
            </li>
            <li class="music__detail">
              <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg" alt="">
              <div class="detail__text">
                <span class="album">Fat Freddy's Drop album long long</span>
                <span class="artist">Based on a True Story</span>
              </div>
            </li>
          </div>
        </ul>
      </ul>
      <ul class="music__byName">
        <span class="first_word">C</span>
        <div class="box__music">
          <li class="music__detail">
            <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg"
              alt="">
            <div class="detail__text">
              <span class="album">Fat Freddy's Drop album long long</span>
              <span class="artist">Based on a True Story</span>
            </div>
          </li>
          <li class="music__detail">
            <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg"
              alt="">
            <div class="detail__text">
              <span class="album">Fat Freddy's Drop album long long</span>
              <span class="artist">Based on a True Story</span>
            </div>
          </li>
          <li class="music__detail">
            <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg"
              alt="">
            <div class="detail__text">
              <span class="album">Fat Freddy's Drop album long long</span>
              <span class="artist">Based on a True Story</span>
            </div>
          </li>
          <li class="music__detail">
            <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg"
              alt="">
            <div class="detail__text">
              <span class="album">Fat Freddy's Drop album long long</span>
              <span class="artist">Based on a True Story</span>
            </div>
          </li>
          <li class="music__detail">
            <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg"
              alt="">
            <div class="detail__text">
              <span class="album">Fat Freddy's Drop album long long</span>
              <span class="artist">Based on a True Story</span>
            </div>
          </li>
        </div>
      </ul>
      <ul class="music__byName">
        <span class="first_word">D</span>
        <div class="box__music">
          <li class="music__detail">
            <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg"
              alt="">
            <div class="detail__text">
              <span class="album">Fat Freddy's Drop album long long</span>
              <span class="artist">Based on a True Story</span>
            </div>
          </li>
          <li class="music__detail">
            <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg"
              alt="">
            <div class="detail__text">
              <span class="album">Fat Freddy's Drop album long long</span>
              <span class="artist">Based on a True Story</span>
            </div>
          </li>
          <li class="music__detail">
            <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg"
              alt="">
            <div class="detail__text">
              <span class="album">Fat Freddy's Drop album long long</span>
              <span class="artist">Based on a True Story</span>
            </div>
          </li>
          <li class="music__detail">
            <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg"
              alt="">
            <div class="detail__text">
              <span class="album">Fat Freddy's Drop album long long</span>
              <span class="artist">Based on a True Story</span>
            </div>
          </li>
          <li class="music__detail">
            <img class="detail__cover" src="https://upload.wikimedia.org/wikipedia/en/2/2a/Based_on_a_True_Story_(Fat_Freddy's_Drop_album).jpg"
              alt="">
            <div class="detail__text">
              <span class="album">Fat Freddy's Drop album long long</span>
              <span class="artist">Based on a True Story</span>
            </div>
          </li>
        </div>
      </ul>
    </div>

    <div class="box__ctrl">
      <input type="checkbox" name="" id="btn__play">
      <div class="ctrl__wave">
        <div class="wave wave4"></div>
        <div class="wave wave3"></div>
        <div class="wave wave2"></div>
        <div class="wave wave1"></div>
      </div>

      <div class="ctrl__body">
        <h2 class="name__song">Knight Move</h2>
        <span class="name__artist">Chilly Conzauk</span>
        <div class="box__btn">
          <div class="btn">
            <i class="fa fa-heart" aria-hidden="true"></i>
            <i class="fa fa-heart-o" aria-hidden="true"></i>
          </div>
          <div class="btn__container">
            <div class="btn">
              <i class="fa fa-step-backward" aria-hidden="true"></i>
            </div>
            <label class="btn__play" for="btn__play">
              <i class="fa fa-play" aria-hidden="true"></i>
              <i class="fa fa-pause" aria-hidden="true"></i>
            </label>
            <div class="btn">
              <i class="fa fa-step-forward" aria-hidden="true"></i>
            </div>
          </div>
          <div class="btn">
            <i class="fa fa-random" aria-hidden="true"></i>
          </div>
        </div>
      </div>
    </div>

  </div>



  <div class="designBy">
    <div>
      <span>Inspired by <a href="https://github.com/Rplus">Rplus</a> & <a href="https://github.com/TouNeko">Neko</a></span>
    </div>

    <span>
      UI Designed by 
      <a href="https://dribbble.com/shots/3305368-Daily-UI-Challenge-09-Music-Player">Guillaume Parra</a>
    </span>
  </div>

</body>


              
            
!

CSS

              
                * {
  box-sizing: border-box;
}

body {
  background-color: gray;
  min-height: 100vh;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.title__ui {
  color: white;
  width: 25rem;
  font-size: 2rem;
  margin: 1rem;
}

$view_height: 40rem;
.box_view {
  background-color: white;
  height: $view_height;
  width: 25rem;
  display: flex;
  flex-direction: column;
}

$header__height: 10rem;
$ctrl__height: 8rem;
$container__padding: 3rem;
header {
  height: $header__height;
  padding: 0 $container__padding;
  .nav__header {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    i {
      color: gray;
    }
  }
  h1 {
    margin: 1.5rem 0;
    font-size: 1.8rem;
  }
  .nav__filter {
    color: gray;
    font-weight: bold;
    .active {
      color: black;
    }
  }
}

.view__container {
  height: $view_height - $header__height - $ctrl__height;
  padding: 0 $container__padding 3rem 0;
  overflow-y: scroll;
}

.nav__filter {
  margin-bottom: 1rem;
  ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0;
  }
  li {
    min-width: 5rem;
    list-style: none;
  }
}

$li_music_h: 4rem;
$music__detail__margin: 0.7rem;
.music__byName {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  .box__music {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  @at-root .music__detail {
    margin: $music__detail__margin 0;
    height: $li_music_h;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    .detail__cover {
      width: $li_music_h;
      height: $li_music_h;
      object-fit: cover;
      margin-right: 1.8rem;
    }
    .detail__text {
      flex: 1;
      min-width: 0; // best css hack ever!! Thanks Rplus~
      .album,
      .artist {
        display: block;
        max-width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 1rem;
        font-weight: 500;
        margin: 0.5rem 0;
      }
      .artist {
        color: gray;
      }
    }
  }
  .first_word {
    font-size: 1.5rem;
    color: gray;
    min-width: $container__padding;
    margin-top: calc( #{ $li_music_h / 2 } + #{ $music__detail__margin / 2 });
    text-align: center;
    top: $music__detail__margin;
    position: sticky;
  }
}

.box__ctrl {
  position: relative;
  input {
    display: none;
  }
  #btn__play:checked {
    &~.ctrl__body {
      .fa-play {
        display: none;
      }
      .fa-pause {
        display: block;
      }
      .box__btn {
        &:after {
          animation: none;
          opacity: 0;
        }
      }
    }
    &~.ctrl__wave {
      .wave {
        animation: ani_wave_negative 6s ease-in-out infinite forwards;
      }
      .wave4 {
        animation: ani_wave_positive 6s ease-in-out infinite forwards;
      }
    }
  }
  @at-root .ctrl__body {
    padding-top: 0.5rem;
    background-color: #FF6CA1;
    height: $ctrl__height;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    .name__song {
      color: white;
      font-size: 1.2rem;
    }
    .name__artist {
      color: rgba(255, 255, 255, 0.5);
      font-size: 0.9rem;
    }
    .box__btn {
      position: relative;
      padding: 1rem;
      text-align: center;
      width: 100%;
      display: flex;
      flex-direction: row;
      i {
        color: white;
      }
      &>.btn {
        flex: 1;
      }
      .fa-heart-o,
      .fa-pause {
        display: none;
      }
      &:after {
        display: block;
        content: '';
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        background-color: aquamarine;
        position: absolute;
        margin: auto;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        mix-blend-mode: darken;
        animation: click_flash 1s linear infinite alternate-reverse;
      }
    }
    .btn__container {
      flex: 2;
      flex-direction: row;
      justify-content: space-around;
      display: flex;
      .btn__play {
        cursor: pointer;
      }
    }
  }
  .ctrl__wave {
    height: 6rem;
    width: 100%;
    overflow: hidden;
    position: absolute;
    left: 0;
    pointer-events: none;
    bottom: calc( 100% - 0px); //for safari
    @at-root .wave {
      width: 90rem;
      height: 100%;
      background-size: 25% auto;
      background-repeat: repeat-x;
      background-position: -15% bottom;
      position: absolute;
      bottom: 0;
      &.wave1 {
        left: 0;
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWxuczpza2V0Y2g9Imh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaC9ucyIgd2lkdGg9IjIyOTZweCIgaGVpZ2h0PSIzODBweCIgdmlld0JveD0iMCAwIDIyOTYgMTgwIiB2ZXJzaW9uPSIxLjEiPgogICAgPHN0eWxlPgogICAgICAuc3R5bGUwewogICAgICAgIGZpbGw6CW5vbmU7CiAgICAgICAgZmlsbC1ydWxlOglldmVub2RkOwogICAgICB9CiAgICAgIC53YXZlMXsKICAgICAgICBmaWxsOgkjRkY2Q0ExOwogICAgICB9CiAgICA8L3N0eWxlPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCAzLjMuMyAoMTIwNzIpIC0gaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoIC0tPgogICAgPHRpdGxlPkFydGJvYXJkIDI8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcyAvPgogICAgPGcgc2tldGNoOnR5cGU9Ik1TUGFnZSIgY2xhc3M9InN0eWxlMCI+CiAgICAgICAgPGcgc2tldGNoOnR5cGU9Ik1TQXJ0Ym9hcmRHcm91cCI+CgogICAgICAgICAgICA8IS0td2F2ZTEtLT4KCiAgICAgICAgICAgIDxnIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiPgogICAgICAgICAgICAgICAgPHBhdGggZD0iCiAgICAgICAgICAgICAgICBNMCAyNDQgCiAgICAgICAgICAgICAgICBDMTcyLjEgMjQzLjYsIDQ1Mi45IDIzMy44LCA2NDYgMTgxIAogICAgICAgICAgICAgICAgQzk0MiA5OS45LCAxMTQ4IDEwNCwgMTE0OSAxMDQgCiAgICAgICAgICAgICAgICBMMTE0OSAyODEgCiAgICAgICAgICAgICAgICBMMC43IDI4MQogICAgICAgICAgICAgICAgQzAuNyAyODEsIC05MS4zIDI0NC4yLCAwIDI0NCAKICAgICAgICAgICAgICAgIFoiIAogICAgICAgICAgICAgICAgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCIgY2xhc3M9IndhdmUxIiAvPgoKICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAKICAgICAgICAgICAgPGcgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCI+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSIKICAgICAgICAgICAgICAgICAgTTIyOTUuOCAyNDQgCiAgICAgICAgICAgICAgICAgIEMyMTIzLjkgMjQzLjYsIDE4NDMuMSwgMjMzLjgsIDE2NTAgMTgxIAogICAgICAgICAgICAgICAgICBDMTM1NCA5OS45LCAxMTQ4IDEwNCwgMTE0NyAxMDQgCiAgICAgICAgICAgICAgICAgIEwxMTQ3IDI4MSAKICAgICAgICAgICAgICAgICAgTDIyOTUuMyAyODEgCiAgICAgICAgICAgICAgICAgIEMyMjk1LjMgMjgxLCAyMzg3LjMgMjQ0LjIsIDIyOTUuOCAyNDQgCiAgICAgICAgICAgICAgICAgIFoiIAogICAgICAgICAgICAgICAgICBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIiAKICAgICAgICAgICAgICAgICAgY2xhc3M9IndhdmUxIiAvPgoKICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+Cg==);
      }
      &.wave2 {
        left: 0;
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWxuczpza2V0Y2g9Imh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3Nr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IiBjbGFzcz0id2F2ZTIiIC8+CgogICAgICAgICAgICA8L2c+CgogICAgICAgICAgICA8ZyBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIj4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9IgogICAgICAgICAgICAgICAgICBNMjI5NiAyMjkgCiAgICAgICAgICAgICAgICAgIEMyMTIzLjkgMjI4LjYsIDE4MjMuMSAyMTMuOCwgMTY1MCAxNTEgCiAgICAgICAgICAgICAgICAgIEMxMzU0IDc5LjksIDEzODggNDgsIDExNDcgNDQKICAgICAgICAgICAgICAgICAgTDExNDcgMjgxIAogICAgICAgICAgICAgICAgICBMMjI5NS4zIDI4MSAKICAgICAgICAgICAgICAgICAgQzIyOTUuMyAyODEsIDIzODcuMyAyNDQuMiwgMjI5NiAyNDQgCiAgICAgICAgICAgICAgICAgIFoiIAogICAgICAgICAgICAgICAgICBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIiAKICAgICAgICAgICAgICAgICAgY2xhc3M9IndhdmUyIiAvPgoKICAgICAgICAgICAgPC9nPgoKICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=);
      }
      &.wave3 {
        left: 0;
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWxuczpza2V0Y2g9Imh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaC9ucyIgd2lkdGg9IjIyOTZweCIgaGVpZ2h0PSI0NDBweCIgdmlld0JveD0iMCAwIDIyOTYgMTgwIiB2ZXJzaW9uPSIxLjEiPgogICAgPHN0eWxlPgogICAgICAuc3R5bGUwewogICAgICAgIGZpbGw6CW5vbmU7CiAgICAgICAgZmlsbC1ydWxlOglldmVub2RkOwogICAgICB9CiAgICAgIC53YXZlM3sKICAgICAgICBmaWxsOi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xNjEgCiAgICAgICAgICAgICAgICAgIEMxMzU0IDU5LjksIDEyODggMCwgMTE0OCAwCiAgICAgICAgICAgICAgICAgIEwxMTQ4IDI4MSAKICAgICAgICAgICAgICAgICAgTDIyOTUuMyAyODEgCiAgICAgICAgICAgICAgICAgIEMyMjk1LjMgMjgxLCAyMzg3LjMgMjQ0LjIsIDIyOTYgMjQ0IAogICAgICAgICAgICAgICAgICBaIiAKICAgICAgICAgICAgICAgICAgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCIgCiAgICAgICAgICAgICAgICAgIGNsYXNzPSJ3YXZlMyIgLz4KCiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=);
        mix-blend-mode: multiply;
      }
      &.wave4 {
        right: 0;
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWxuczpza2V0Y2g9Imh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaC9ucyIgd2lkdGg9IjIyOTZweCIgaGVpZ2h0PSIzODBweCIgdmlld0JveD0iMCAwIDIyOTYgMjgwIiB2ZXJzaW9uPSIxLjEiPgogICAgPHN0eWxlPgogICAgICAuc3R5bGUwewogICAgICAgIGZpbGw6CW5vbmU7CiAgICAgICAgZmlsbC1ydWxlOglldmVub2RkOwogICAgICB9CiAgICAgIC53YXZlMnsKICAgICAgICA8IS0tZmlsbDoJcmdiYSgyNTIsIDAsIDE5MCwgMC44KTstLT4KICAgICAgICBmaWxsOiBkZWVwcGluazsKICAgICAgfQogICAgPC9zdHlsZT4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy4zLjMgKDEyMDcyKSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5BcnRib2FyZCAyPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnMgLz4KICAgIDxnIHNrZXRjaDp0eXBlPSJNU1BhZ2UiIGNsYXNzPSJzdHlsZTAiPgogICAgICAgIDxnIHNrZXRjaDp0eXBlPSJNU0FydGJvYXJkR3JvdXAiPgoKICAgICAgICAgICAgPCEtLXdhdmUyLS0+CiAgICAgICAgICAgIDxnIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiPgogICAgICAgICAgICAgICAgPHBhdGggZD0iCiAgICAgICAgICAgICAgICBNMCAyMjkgCiAgICAgICAgICAgICAgICBDMTcyLjEgMjI4LjYsIDQ1Mi45IDIxMy44LCA2NDYgMTYxIAogICAgICAgICAgICAgICAgQzk0MiA3OS45LCAxMDA4IDY0LCAxMTQ5IDY0IAogICAgICAgICAgICAgICAgTDExNDkgMjgxIAogICAgICAgICAgICAgICAgTDAuNyAyODEKICAgICAgICAgICAgICAgIEMwLjcgMjgxLCAtOTEuMyAyNDQuMiwgMCAyNDQgCiAgICAgICAgICAgICAgICBaIiAKICAgICAgICAgICAgICAgIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiIGNsYXNzPSJ3YXZlMiIgLz4KCiAgICAgICAgICAgIDwvZz4KCiAgICAgICAgICAgIDxnIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiPgogICAgICAgICAgICAgICAgPHBhdGggZD0iCiAgICAgICAgICAgICAgICAgIE0yMjk2IDIyOSAKICAgICAgICAgICAgICAgICAgQzIxMjMuOSAyMjguNiwgMTgyMy4xIDIxMy44LCAxNjUwIDE2MSAKICAgICAgICAgICAgICAgICAgQzEzNTQgNzkuOSwgMTI4OCA2NCwgMTE0NyA2NAogICAgICAgICAgICAgICAgICBMMTE0NyAyODEgCiAgICAgICAgICAgICAgICAgIEwyMjk1LjMgMjgxIAogICAgICAgICAgICAgICAgICBDMjI5NS4zIDI4MSwgMjM4Ny4zIDI0NC4yLCAyMjk2IDI0NCAKICAgICAgICAgICAgICAgICAgWiIgCiAgICAgICAgICAgICAgICAgIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiIAogICAgICAgICAgICAgICAgICBjbGFzcz0id2F2ZTIiIC8+CgogICAgICAgICAgICA8L2c+CgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+Cg==);
        background-position: 20% bottom;
        mix-blend-mode: multiply;
      }
    }
  }
}

@keyframes ani_wave_positive {
  from,
  to {
    transform: translateX(0);
  }
  50% {
    transform: translateX(50%);
  }
}

@keyframes ani_wave_negative {
  from,
  to {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-50%);
  }
}

.designBy {
  margin-top: 3rem ;
}

.svg__wave {
  width: 100%;
}

@keyframes click_flash {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

              
            
!

JS

              
                
              
            
!
999px

Console