diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-07-11 13:46:03 +0200 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-07-11 13:46:03 +0200 |
commit | 6683cfdf3cbb6ec1b411e76f91182d5de4477daf (patch) | |
tree | dfe04d82af446e39f2ec9ea3c5692a98eec4508d /index.html | |
parent | 3a842419ec308423d6b96b8f04ace7ff6e7c9567 (diff) | |
download | tres-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.html | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -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"> = - <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"> = - <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> |