Browse Source

modified index and style

master
vinicius 3 years ago
parent
commit
8f7ac84712
2 changed files with 28 additions and 7 deletions
  1. +5
    -5
      praticando/index.html
  2. +23
    -2
      praticando/style.css

+ 5
- 5
praticando/index.html View File

@ -39,24 +39,24 @@
<div> <div>
<form> <form>
<div class="data-running">
<div class="datas">
<div> <div>
<label for="name">Name:</label> <label for="name">Name:</label>
<input type="text" name="name" placeholder="Type your name"/>
<input class="datas-running" type="text" name="name" placeholder="Type your name"/>
</div> </div>
<div> <div>
<label for="name">Distance:</label> <label for="name">Distance:</label>
<input type="text" name="name" placeholder="Type your distance"/>
<input class="datas-running" type="text" name="name" placeholder="Type your distance"/>
</div> </div>
<div> <div>
<label for="name">Time:</label> <label for="name">Time:</label>
<input type="text" name="name" placeholder="Type your time"/>
<input class="datas-running" type="text" name="name" placeholder="Type your time"/>
</div> </div>
<div> <div>
<input type="submit" value="Register">
<button id="button">Register</button>
</div> </div>
</div> </div>
</form> </form>


+ 23
- 2
praticando/style.css View File

@ -5,7 +5,8 @@
} }
body { body {
background-color: lightgray;
color: #fff;
background-color: #000;
text-align: center; text-align: center;
margin: 25px; margin: 25px;
display: flex; display: flex;
@ -24,12 +25,32 @@ p {
table { table {
background-color: lightblue; background-color: lightblue;
color: #000;
} }
.data-running {
.datas {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 15px; gap: 15px;
margin-top: 15px; margin-top: 15px;
} }
.datas-running {
border: none;
padding: 16px 32px;
border-radius: 16px;
}
#button {
border: none;
margin-left: 40px;
padding: 16px 32px;
border-radius: 16px;
font-size: 16px;
font-weight: 700;
text-transform: uppercase;
background-color: blue;
color: #fff;
}

Loading…
Cancel
Save