JSFiddle - React, Tailwind, and code Playground
by SwampFall
HTML
<div id="main" class="small_rounded">
<div id="content">
<div id="textbar">
<fieldset class="royal_quest small_rounded">
<legend class="small_rounded">Question - Level <span id="lvl">1</span></legend>
<span id="question">Which of these is considered as a <b>Snail</b>-Pokémon?</span> </fieldset><br>
<div class="royal_tunnel">
<div class="rcountdown">
<span id="countdown">23</span>s
</div>
<a onclick=""><img id="rp1" src="//staticpokeheroes.com/img/pokemon/bw_front/0366.png"></a>
<a onclick=""><img id="rp2" src="//staticpokeheroes.com/img/pokemon/bw_front/0616.png"></a>
<a onclick=""><img id="rp3" src="//staticpokeheroes.com/img/pokemon/bw_front/0642.png"></a>
</div>
</div>
</div>
</div>
CSS
fieldset.royal_quest,
fieldset.royal_quest legend {
border: 2px solid #4e1c00;
background: #b7683d;
color: #4e1c00;
}
fieldset.royal_quest legend {
padding: 10px;
font-weight: bold;
}
.royal_tunnel {
width: 700px;
height: 381px;
background-image: url(//staticpokeheroes.com/img/royal_tunnel/royal_tunnel.png);
background-repeat: no-repeat;
position: relative;
left: 50%;
margin-left: -350px;
}
img#rp1 {
margin-left: 120px;
margin-top: 140px;
}
img#rp2 {
margin-left: 70px;
margin-top: 140px;
}
img#rp3 {
margin-left: 100px;
margin-top: 140px;
}
div.rcountdown {
width: 45px;
border: 2px solid #4d0d0d;
background-color: #bf8c70;
position: absolute;
margin-left: 580px;
margin-top: 18px;
text-align: center;
padding: 8px;
font-weight: bold;
color: #4d0d0d;
}
div.item_found_box {
position: absolute;
width: 40%;
left: 30%;
text-align: center;
margin-top: 300px;
border: 2px solid #4e1c00;
background: #b7683d;
padding: 5px;
color: #4e1c00;
}
body {
color: #053b55;
font-family: Verdana, sans-serif;
font-size: 12px;
overflow-y: scroll;
-webkit-text-size-adjust: none;
text-size-adjust: none;
margin: 4px
}
div {
box-sizing: border-box
}
table {
border-collapse: collapse
}
td {
font-size: 12px;
vertical-align: top
}
label {
font-weight: 700
}
img {
border: 0
}
a {
color: #080b49;
cursor: pointer;
text-decoration: underline;
font-weight: 700
}
a:hover {
color: #474ba2
}
form {
font-size: inherit
}
hr {
border: 0;
color: #277980;
background-color: #277980;
height: 1px
}
a input {
text-decoration: none
}
textarea {
background-color: #dae8f3;
color: #011423;
box-sizing: border-box
}
textarea:focus {
background-color: #eef4f8
}
input[type=text],
input[type=number],
input[type=password],
select,
textarea {
padding: 4px;
font-family: inherit
}
#header {
position: relative;
width: 100%;
max-width: 700px;
margin: auto;
...