Skip to content

Commit

Permalink
Merge pull request #1 from ayush-that/manyaigdtuw-patch-2
Browse files Browse the repository at this point in the history
quiz css
  • Loading branch information
ayush-that authored Jan 24, 2024
2 parents 77578f3 + c5ac1b2 commit bd2a55c
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions QUIZ.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
body {
font-family: Arial, sans-serif;
background-color: #f4f9fd; /* Fresh light blue background color */
color: #333; /* Dark text color */
margin: 0;
padding: 0;
}

h2 {
color: #3498db; /* Breezy blue heading color */
}

form {
max-width: 600px;
margin: 20px auto;
padding: 20px;
background-color: #fff; /* White background for the form */
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Light shadow for the form */
}

label {
display: block;
margin-bottom: 10px;
color: #2980b9; /* Dark blue label color */
}

input[type="radio"] {
margin-bottom: 10px;
}

button {
background-color: #3498db; /* Breezy blue button color */
color: #fff; /* White text color */
padding: 10px 20px;
border: 2px solid #3498db; /* Bordered button with breezy blue border */
border-radius: 5px;
cursor: pointer;
}

button:hover {
background-color: #2980b9; /* Darker blue on hover */
}

#quizResult {
margin-top: 20px;
font-weight: bold;
color: #2ecc71; /* Emerald green result color */
}

/* Add stars to the correct answers */
input[type="radio"]:checked+label::before {
content: '\2605'; /* Unicode character for a star */
color: #f39c12; /* Orange star color */
margin-right: 5px;
}

0 comments on commit bd2a55c

Please sign in to comment.