Confetti using JS, SCSS, and a HTML5 canvas.
A Pen by Cooper Goeke on CodePen.
| <!-- Button 1 --> | |
| <section class="background"> | |
| <button class="unsub-button unsub-button--balloon"> | |
| <span class="unsub-button__default-text">Unsubscribe</span> | |
| <svg class="unsub-button__icon" viewBox="0 0 83.4 64"> | |
| <path d="M6.5 15.3l30 20.4 30-20.4"/> | |
| <path d="M45.1 51.8H6.5V15.3h60v12.1"/> | |
| <circle class="cancel-color" cx="65.8" cy="48.1" r="12.5"/> | |
| <path class="cancel-color" d="M57.1 39.2l17.6 17.6"/> | |
| </svg> |
| <span class="switcher switcher-1"> | |
| <input type="checkbox" id="switcher-1"> | |
| <label for="switcher-1"></label> | |
| </span> | |
| <span class="switcher switcher-2"> | |
| <input type="checkbox" id="switcher-2"> | |
| <label for="switcher-2"></label> | |
| </span> |
| <label class="label"> | |
| <div class="toggle"> | |
| <input class="toggle-state" type="checkbox" name="check" value="check" /> | |
| <div class="indicator"></div> | |
| </div> | |
| <div class="label-text">no more emails plz</div> | |
| </label> |
From https://dribbble.com/shots/7218398-button-egg
A Pen by Aaron Iker on CodePen.
| <main> | |
| <input class="l" type="checkbox"> | |
| </main> |
| .loader | |
| .loader_inner | |
| %img.pawone{:src => 'https://s3-us-west-2.amazonaws.com/s.cdpn.io/217233/paw1.png'} | |
| %img.pawtwo{:src => 'https://s3-us-west-2.amazonaws.com/s.cdpn.io/217233/l1.png'} | |
| %img.pawone{:src => 'https://s3-us-west-2.amazonaws.com/s.cdpn.io/217233/paw2.png'} | |
| %img.pawtwo{:src => 'https://s3-us-west-2.amazonaws.com/s.cdpn.io/217233/l2.png'} | |
| %img.pawone{:src => 'https://s3-us-west-2.amazonaws.com/s.cdpn.io/217233/paw1.png'} | |
| %img.pawtwo{:src => 'https://s3-us-west-2.amazonaws.com/s.cdpn.io/217233/l3.png'} | |
| .div Loading feedback form... | |
| .tut |
A concept that was rejected by the client. Serves as a demo only and not to be put into production. Not responsive as just a POC
No likey. No lighty
A Pen by Jamie Coulter on CodePen.