Spaces:
Sleeping
Sleeping
| body { | |
| font-family: Arial, sans-serif; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100vh; | |
| background-color: #f4f4f9; | |
| margin: 0; | |
| padding: 10px; | |
| box-sizing: border-box; | |
| } | |
| .flashcard { | |
| background: #fff; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); | |
| padding: 20px; | |
| text-align: center; | |
| width: 90%; | |
| max-width: 400px; | |
| opacity: 1; | |
| } | |
| .content { | |
| margin-bottom: 20px; | |
| } | |
| .navigation { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .navigation button { | |
| background: #00CFFF; /* Neon blue color */ | |
| border: none; | |
| border-radius: 4px; | |
| color: #fff; | |
| cursor: pointer; | |
| font-size: 14px; /* Smaller font size for Previous and Next */ | |
| padding: 8px 0.6em; | |
| margin: 5px; | |
| transition: transform 0.3s ease; /* Add transition for animation */ | |
| } | |
| #flipBtn { | |
| font-size: 18px; /* Larger font size for Flip */ | |
| padding: 10px 6em; | |
| background: #007BFF; | |
| transition: transform 0.3s ease; /* Add transition for animation */ | |
| } | |
| #flipBtn:hover { | |
| background: #0056b3; | |
| transform: scale(1.1); /* Scale up on hover */ | |
| } | |
| .navigation button:hover { | |
| background: #0099cc; | |
| transform: scale(1.1); /* Scale up on hover */ | |
| } | |