Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/crutchcorn/bowtie-button-demo. A fun little animation library test crutchcorn.github.io/bowtie-button-demo
Something went wrong. Try again.
bowtie-button-demo styles.css
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364.bowtie-button { border: none; background: none; position: relative; padding: 20px; overflow: hidden; color: white; border-radius: 9999px; font-family: sans-serif; font-style: normal; font-weight: 700; font-size: 18px; line-height: 24px; user-select: none;}
.staticBackground { position: absolute; height: 100%; width: 100%; z-index: -2; top: 0; left: 0; background: #00344d; transition: background 300ms ease-in-out;}
.bowtie-button:hover .staticBackground { background: #004c6d;}
.bowtie-button:active .staticBackground { background: #006590;}
.bowtie-visibility { position: absolute; height: 100%; width: 100%; z-index: -1; top: 0; left: 0; opacity: 0; transition: opacity 300ms ease-in-out;}
.bowtie-button:hover .bowtie-visibility,.bowtie-button:active .bowtie-visibility { opacity: 1;}
.bowties { position: absolute; height: 100%; width: 100%; top: 0; left: 0; background-repeat: repeat; background-size: 8px 8px; background-image: url('/bowtie-button-demo/assets/bowtie-frames.svg#frame0'); transform-origin: center; background-position: center;}