diff --git a/button b/button new file mode 100644 index 000000000..7ca3a1995 --- /dev/null +++ b/button @@ -0,0 +1,56 @@ +
+ + + + .button-container { + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + } + + .button { + background-color: #4CAF50; + color: white; + font-size: 16px; + padding: 12px 24px; + border: none; + border-radius: 4px; + cursor: pointer; + transition: all 0.3s ease; + } + + .button:hover { + background-color: #3e8e41; + } + + .button:active { + background-color: #3e8e41; + transform: translateY(2px); + transition-duration: 0.1s; + } + + .button:hover { + animation: shake 0.5s; + } + + @keyframes shake { + 0% { transform: translateX(0); } + 25% { transform: translateX(8px); } + 50% { transform: translateX(-8px); } + 75% { transform: translateX(8px); } + 100% { transform: translateX(0); } + } + + .button { + transition: all 0.3s ease; + box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); + } + + .button:hover { + transform: scale(1.1); + box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); + } +