aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-07-11 13:46:03 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-07-11 13:46:03 +0200
commit6683cfdf3cbb6ec1b411e76f91182d5de4477daf (patch)
treedfe04d82af446e39f2ec9ea3c5692a98eec4508d /index.html
parent3a842419ec308423d6b96b8f04ace7ff6e7c9567 (diff)
downloadtres-6683cfdf3cbb6ec1b411e76f91182d5de4477daf.tar.gz
tres-6683cfdf3cbb6ec1b411e76f91182d5de4477daf.tar.bz2
tres-6683cfdf3cbb6ec1b411e76f91182d5de4477daf.zip
fix: Add style to the input field
Diffstat (limited to 'index.html')
-rw-r--r--index.html18
1 files changed, 12 insertions, 6 deletions
diff --git a/index.html b/index.html
index 91cd76d..39697ff 100644
--- a/index.html
+++ b/index.html
@@ -58,7 +58,6 @@ nav {
cursor: pointer;
color: #000;
border-radius: 0;
- text-transform: lowercase;
}
nav li {
@@ -72,6 +71,13 @@ nav li {
display: flex;
}
+.form-ctl {
+ border-radius: 0;
+ border-color: #888;
+ color: #343a40;
+ padding: .25rem .375rem;
+}
+
main {
width: 50%;
margin: 0 auto;
@@ -91,21 +97,21 @@ main {
</header>
<main>
<div class="section">
- <input type="number" id="a" placeholder="A">
+ <input class="form-ctl" type="number" id="a" placeholder="A">
&nbsp;=&nbsp;
- <input type="number" id="b" placeholder="B">
+ <input class="form-ctl" type="number" id="b" placeholder="B">
</div>
<div class="section">
- <input type="number" id="c" placeholder="C">
+ <input class="form-ctl" type="number" id="c" placeholder="C">
&nbsp;=&nbsp;
- <input type="number" id="resultado" disabled placeholder="Resultado">
+ <input class="form-ctl" type="number" id="resultado" disabled placeholder="Resultado">
</div>
<div id="warning" class="section warning">
<p>
</p>
</div>
<div class="section">
- <input type="button" value="Calcular"onclick="eval()">
+ <input type="button" class="btn" value="Calcular" onclick="eval()">
</div>
</main>