Browse Source

modified index.html and add style.css

master
vinicius 3 years ago
parent
commit
c2fda327c8
2 changed files with 53 additions and 41 deletions
  1. +18
    -41
      praticando/index.html
  2. +35
    -0
      praticando/style.css

+ 18
- 41
praticando/index.html View File

@ -1,38 +1,9 @@
<html lang="pt-br"> <html lang="pt-br">
<head> <head>
<link rel="stylesheet" href="style.css">
</head> </head>
<body> <body>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: lightgray;
text-align: center;
margin: 25px;
display: flex;
flex-direction: column;
gap: 10px;
}
h1 {
font-size: 45px;
}
p {
margin-top: 50px;
font-size: 20px;
}
table {
background-color: lightblue;
}
</style>
<h1>PRATICANDO VIM</h1> <h1>PRATICANDO VIM</h1>
<p>RUNNING TABLE</p> <p>RUNNING TABLE</p>
@ -68,19 +39,25 @@ table {
<div> <div>
<form> <form>
<div>
<label for="name">Name:</label>
<input type="text" name="name" placeholder="Type your name"/>
</div>
<div class="data-running">
<div>
<label for="name">Name:</label>
<input type="text" name="name" placeholder="Type your name"/>
</div>
<div>
<label for="name">Distance:</label>
<input type="text" name="name" placeholder="Type your distance"/>
</div>
<div>
<label for="name">Distance:</label>
<input type="text" name="name" placeholder="Type your distance"/>
</div>
<div>
<label for="name">Time:</label>
<input type="text" name="name" placeholder="Type your time"/>
</div>
<div>
<label for="name">Time:</label>
<input type="text" name="name" placeholder="Type your time"/>
<div>
<input type="submit" value="Register">
</div>
</div> </div>
</form> </form>
</div> </div>


+ 35
- 0
praticando/style.css View File

@ -0,0 +1,35 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: lightgray;
text-align: center;
margin: 25px;
display: flex;
flex-direction: column;
gap: 10px;
}
h1 {
font-size: 45px;
}
p {
margin-top: 50px;
font-size: 20px;
}
table {
background-color: lightblue;
}
.data-running {
display: flex;
align-items: center;
justify-content: center;
gap: 15px;
margin-top: 15px;
}

Loading…
Cancel
Save