added class to input field

This commit is contained in:
Geir Okkenhaug Jerstad 2024-09-16 11:08:14 +02:00
parent 9bf5e6f17d
commit aa740fc74b
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ var html = /*HTML*/`
<a class="btn rgb-animate-hvr">8-ball</a> <a class="btn rgb-animate-hvr">8-ball</a>
</div> </div>
<div class="content rgb-animate"> <div class="content rgb-animate">
Ask Your question: <input type="text" onchange="question = this.value" /><br> Ask Your question: <input class="content"type="text" onchange="question = this.value" /><br>
<button class="btn rgb-animate-hvr" onclick="pickRandomAnswer()">Submit</button> <button class="btn rgb-animate-hvr" onclick="pickRandomAnswer()">Submit</button>
</div> </div>
</main> </main>

View file

@ -40,7 +40,7 @@
} }
.content { .content {
min-height: 50vh; min-height: 10vh;
display: flex; display: flex;
flex-flow: column; flex-flow: column;
justify-content: center; justify-content: center;