diff --git a/buttons/buttons.css b/buttons/buttons.css index d3dc362..30c2ae9 100644 --- a/buttons/buttons.css +++ b/buttons/buttons.css @@ -2703,3 +2703,91 @@ a:focus-visible { } } +/* spence709-btn-1 start */ +.spence709-btn-1 { + position: relative; + padding: 18px 40px; + font-size: 16px; + font-weight: 600; + color: #fff; + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + border: none; + border-radius: 50px; + cursor: pointer; + overflow: hidden; + transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); + box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4); +} + +.spence709-btn-1::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: linear-gradient(135deg, #764ba2 0%, #667eea 100%); + opacity: 0; + transition: opacity 0.4s ease; +} + +.spence709-btn-1::after { + content: ''; + position: absolute; + top: -2px; + left: -2px; + right: -2px; + bottom: -2px; + background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #4facfe); + background-size: 400%; + border-radius: 50px; + z-index: -1; + opacity: 0; + transition: opacity 0.4s ease; + animation: spence709-btn-1-glow 8s linear infinite; +} + +.spence709-btn-1 span { + position: relative; + z-index: 1; + transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1); + display: inline-block; +} + +.spence709-btn-1:hover { + transform: translateY(-3px) scale(1.05); + box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6), + 0 0 40px rgba(118, 75, 162, 0.4); +} + +.spence709-btn-1:hover::before { + opacity: 1; +} + +.spence709-btn-1:hover::after { + opacity: 1; + filter: blur(20px); +} + +.spence709-btn-1:hover span { + transform: scale(1.1); +} + +.spence709-btn-1:active { + transform: translateY(-1px) scale(1.02); + box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5); +} + +@keyframes spence709-btn-1-glow { + 0% { + background-position: 0% 50%; + } + 50% { + background-position: 100% 50%; + } + 100% { + background-position: 0% 50%; + } +} +/* spence709-btn-1 end */ + diff --git a/index.html b/index.html index a8dbf87..b1333c4 100644 --- a/index.html +++ b/index.html @@ -1,767 +1,925 @@ - -
- - - - -