SHARE
TWEET

Untitled

a guest Feb 18th, 2020 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <style>
  4. /* The container */
  5. .container {
  6.   display: block;
  7.   position: relative;
  8.   padding-left: 35px;
  9.   margin-bottom: 12px;
  10.   cursor: pointer;
  11.   font-size: 22px;
  12.   -webkit-user-select: none;
  13.   -moz-user-select: none;
  14.   -ms-user-select: none;
  15.   user-select: none;
  16. }
  17.  
  18. /* Hide the browser's default radio button */
  19. .container input {
  20.   position: absolute;
  21.   opacity: 0;
  22.   cursor: pointer;
  23. }
  24.  
  25. /* Create a custom radio button */
  26. .checkmark {
  27.   position: absolute;
  28.   top: 0;
  29.   left: 0;
  30.   height: 25px;
  31.   width: 25px;
  32.   background-color: rgb(230, 39, 39);
  33.   border-radius: 50%;
  34. }
  35.  
  36. /* On mouse-over, add a grey background color */
  37. .container:hover input ~ .checkmark {
  38.   background-color: rgb(30, 255, 30);
  39. }
  40.  
  41. /* When the radio button is checked, add a blue background */
  42. .container input:checked ~ .checkmark {
  43.   background-color: rgb(28, 223, 61);
  44. }
  45.  
  46. /* Create the indicator (the dot/circle - hidden when not checked) */
  47. .checkmark:after {
  48.   content: "";
  49.   position: absolute;
  50.   display: none;
  51. }
  52.  
  53. /* Show the indicator (dot/circle) when checked */
  54. .container input:checked ~ .checkmark:after {
  55.   display: block;
  56. }
  57.  
  58. /* Style the indicator (dot/circle) */
  59. .container .checkmark:after {
  60.     top: 9px;
  61.     left: 9px;
  62.     width: 8px;
  63.     height: 8px;
  64.     border-radius: 50%;
  65.     background: rgb(38, 250, 10);
  66. }
  67. </style>
  68. <body>
  69.  
  70. <h1>TN RolePlay QCM</h1>
  71.  
  72.  
  73. <h2>Question Here</h2>
  74. <label class="container">Answer 1
  75.   <input type="radio" checked="checked" name="radio">
  76.   <span class="checkmark"></span>
  77. </label>
  78. <label class="container">Answer 2
  79.   <input type="radio" name="radio">
  80.   <span class="checkmark"></span>
  81. </label>
  82. <label class="container">Answer 3
  83.   <input type="radio" name="radio">
  84.   <span class="checkmark"></span>
  85. </label>
  86. <label class="container">Answer 4
  87.   <input type="radio" name="radio">
  88.   <span class="checkmark"></span>
  89. </label>
  90.  
  91. <html>
  92. <head>
  93. <meta name="viewport" content="width=device-width, initial-scale=1">
  94. <style>
  95. .button {
  96.   padding: 15px 25px;
  97.   font-size: 24px;
  98.   text-align: center;
  99.   cursor: pointer;
  100.   outline: none;
  101.   color: #fff;
  102.   background-color: rgb(197, 44, 159);
  103.   border: none;
  104.   border-radius: 15px;
  105.   box-shadow: 0 9px #999;
  106. }
  107.  
  108. .button:hover {background-color: #05318f}
  109.  
  110. .button:active {
  111.   background-color: #06c4dd;
  112.   box-shadow: 0 5px rgb(21, 1, 136);
  113.   transform: translateY(4px);
  114. }
  115. </style>
  116. </head>
  117. <body>
  118. <html>
  119. <head>
  120. <style>
  121. .button {
  122.   background-color: #4CAF50;
  123.   border: none;
  124.   color: white;
  125.   padding: 15px 25px;
  126.   text-align: center;
  127.   font-size: 16px;
  128.   cursor: pointer;
  129. }
  130.  
  131. .button:hover {
  132. </style>
  133. </head>
  134. <body>
  135.   <!DOCTYPE html>
  136. <html>
  137. <head>
  138. <style>
  139. .button {
  140.   background-color: #4CAF50;
  141.   border: none;
  142.   color: white;
  143.   padding: 15px 25px;
  144.   text-align: center;
  145.   font-size: 16px;
  146.   cursor: pointer;
  147. }
  148.  
  149. .button:hover {
  150.   background-color: green;
  151. }
  152. </style>
  153. </head>
  154. <body>
  155.  
  156. <button>Back</button>
  157. <button>Next</button>
  158.  
  159. </body>
  160. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top