Skip to content

Commit

Permalink
Estudos de Flexbox
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliosarges committed Dec 30, 2024
1 parent 393cc62 commit 188841b
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions exercicios/ex028/flex005/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flexbox centralizando</title>
<style>
* {
margin: 0px;
padding: 0;
box-sizing: border-box;
}

body {
background-color: lightsalmon;
}

main {
background-color: lightgreen;
height: 100vh;
width: 100vw;

display: flex;
flex-flow: row nowrap;
justify-content: center;
align-items: center;
}

section {
background-color: lightseagreen;
height: 200px;
width: 200px;
}
</style>
</head>
<body>
<main>
<section>
<h1>Tela de Login</h1>
</section>
</main>
</body>
</html>

0 comments on commit 188841b

Please sign in to comment.