Changed styling

This commit is contained in:
2023-02-20 21:29:20 +01:00
parent 4fcb90e380
commit 7804d9208e
2 changed files with 17 additions and 3 deletions

View File

@@ -45,7 +45,7 @@
</h2> </h2>
<h3 id="result"></h3> <h3 id="result"></h3>
<form> <form>
<select id="selectNumber"> <select id="selectNumber" class="dropdown">
<option value="1"> <option value="1">
Pick 1 Pick 1
</option> </option>
@@ -62,8 +62,8 @@
Pick 5 Pick 5
</option> </option>
</select> </select>
<button type="submit" id="submit">Randomize</button>
</form> </form>
<button type="submit" id="submit">Randomize</button>
</div> </div>
</div> </div>

View File

@@ -56,6 +56,20 @@ ol>li {
color: rgb(0, 0, 0); color: rgb(0, 0, 0);
} }
.dropdown {
height: 50px;
border: 1px solid #ccc;
border-radius: 5px;
padding-left: 5px;
padding: 10px;
font-size: 18px;
font-family: 'Open Sans', sans-serif;
color: #555;
background-color: rgb(255, 255, 255);
background-image: none;
border: 1px solid rgb(41, 18, 18);
}
@media screen and (max-width:768px) { @media screen and (max-width:768px) {
#grid { #grid {
grid-template-columns: 1fr; grid-template-columns: 1fr;