mralasic

boss_quizz_style_css

Nov 5th, 2021 (edited)
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.23 KB | None | 0 0
  1. body {
  2.   background-color:#121212;
  3.   color: #f5f5f5;
  4.   font-size:20px;
  5.   font-family: 'Lato', sans-serif;
  6.   width:1000px;
  7.   height:auto;
  8.   margin-left:auto;
  9.   margin-right:auto;
  10.  
  11. }
  12.  
  13. h1 {
  14.   font-family: 'Shojumaru', cursive;
  15.   color: #f5f5f5
  16. }
  17.  
  18. ul{
  19.   list-style:none;
  20.   width:800px;
  21. }
  22.  
  23. ul li{
  24.   background-color:#2a2a2a;
  25.   padding:20px;
  26.   font-size:25px;
  27.   letter-spacing:1px;
  28. }
  29.  
  30. .questionContainer{
  31.   display:none;
  32.   width:inherit;
  33.   height:300px;
  34.   padding:12px;
  35. }
  36.  
  37. li:hover .questionContainer{
  38.   display:block;
  39. }
  40.  
  41. li:hover span{
  42.   transition-duration:0.2s;
  43.   background:#121212;
  44.   padding:5px;
  45.   border-radius:3px;
  46. }
  47.  
  48. .bossImg {
  49.   width:400px;
  50.   height:300px;
  51.   object-fit:cover;
  52.   border-radius:3px;
  53.   float:left;
  54.   margin-right:20px;
  55. }
  56.  
  57. input{
  58.   margin-right:10px;
  59.   margin-bottom:15px;
  60.   transform: scale(1.5);
  61. }
  62.  
  63. button{
  64.   background-color:#0078f2;
  65.   padding:20px;
  66.   border: 1px solid #0078f2;
  67.   color:#f5f5f5;
  68.   margin-right:10px;
  69.   margin-top:5px;
  70.   font-size:20px;
  71.   font-family: 'Lato', sans-serif;
  72. }
  73.  
  74. button:hover {
  75.   opacity:0.9;
  76.   cursor:pointer;
  77. }
  78.  
  79. h3{
  80.   display:inline;
  81. }
  82.  
  83. .correct{
  84.   background-color:#538771;
  85. }
  86.  
  87. .incorrect{
  88.   background-color:#f34a23;
  89. }
Add Comment
Please, Sign In to add comment