TEST 5 - TEST SERIES

Breaking

6/recent/ticker-posts

Post Top Ad

Responsive Ads Here

Saturday, 27 March 2021

TEST 5

background-color: #ffffff; margin:40px auto; border-radius:10px; padding:30px; } .quiz-container::after,.quiz-container::before{ content: ”; clear: both; display: table; } .question-number, .question, .options, .button, .answers-tracker{ float: left; width: 100%; } .question-number h3{ color:#009688; border-bottom: 1px solid #ccc; margin:0; padding-bottom:10px; } .question { font-size:22px; color:000000; padding:20px 0; } .options div{ background-color: #cccccc; font-size:16px; color:000000; margin-bottom:10px; border-radius:5px; padding:15px; position: relative; overflow:hidden; cursor: pointer; } .options div.disabled{ pointer-events: none; } .options div.correct{ z-index: 1; color: #fff; } .options div.correct::before{ content: ”; position: absolute; left:0; top:0; width: 100%; height: 100%; background-color: green; z-index: -1; animation: animateBackground 1s ease; animation-fill-mode: forwards; } @keyframes animateBackground{ 0%{ transform: translateX(-100%); } 100%{ transform: translateX(0%); } } .options div.wrong{ z-index: 1; color: #fff; } .options div.wrong::before{ content: ”; position: absolute; left:0; top:0; width: 100%; height: 100%; background-color:red; z-index: -1; animation: animateBackground 1s ease; animation-fill-mode: forwards; } @keyframes animateBackground{ 0%{ transform: translateX(-100%); } 100%{ transform: translateX(0%); } } .button .btn{ padding:15px 50px; border-radius:5px; cursor: pointer; background-color:#009688; font-size:16px; color:#ffffff; border: none; display: inline-block; margin:15px 0 20px; } .answers-tracker{ border-top:1px solid #ccc; padding-top: 15px; } .answers-tracker div{ height: 40px; width: 40px; background-color: #cccccc; display: inline-block; border-radius: 50%; margin-right:5px; } .answers-tracker div.correct{ background-color: green; background-image:url(‘img/correct.png’); background-position: center; background-repeat: no-repeat; background-size: 50%; } .answers-tracker div.wrong{ background-color: red; background-image:url(‘img/wrong.png’); background-position: center; background-repeat: no-repeat; background-size: 50%; } .quiz-over{ position: fixed; left:0; top:0; width: 100%; height: 100%; background-color:rgba(0,0,0,0.9); z-index: 10; display: none; align-items: center; justify-content: center; } .quiz-over.show{ display: flex; } .quiz-over .box{ background-color: #009688; padding:30px; border-radius:10px; text-align: center; flex-basis: 700px; max-width:700px; color:#ffffff; } .quiz-over .box h1{ font-size:36px; margin:0 0 20px; } .quiz-over .box button{ padding:15px 50px; border:none; background-color:#FF9800; border-radius:5px; font-size:16px; margin:15px 0 20px; color:#ffffff; }

Quiz for all Exams

Test Quiz

Question of

Good Try!
You Got out of answers correct!
That’s

Post Bottom Ad

Responsive Ads Here

Pages