<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Mario's World</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="styles/base.css" />
|
|
<link rel="stylesheet/less" type="text/css" href="styles/base.less" />
|
|
<script src="scripts/less/less.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<img height="100" width="1" src="images/logo.png"/>
|
|
<h1>Mario's World</h1>
|
|
<p>
|
|
<a href="tabela.html">Games</a>
|
|
·
|
|
<a href="formulario.html">Contact</a>
|
|
</p>
|
|
</header>
|
|
<main>
|
|
<section>
|
|
<h1>You find everything here</h1>
|
|
<p>You're <span>Welcome</span> !</p>
|
|
</section>
|
|
<hr/>
|
|
|
|
<section id="bloco-grid">
|
|
<h1>Super Mario Bros</h1>
|
|
<div data-colunas="grid" class="grid">
|
|
<div>
|
|
<h2>History</h2>
|
|
<p></p>
|
|
</div>
|
|
<div>
|
|
<h2>Curiosity</h2>
|
|
<p></p>
|
|
</div>
|
|
<div>
|
|
<h2>Easter Eggs</h2>
|
|
<p></p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<hr/>
|
|
<style>
|
|
div[data-colunas="flex"] {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
div.tipos-veiculos[data-colunas="flex"] > div {
|
|
flex: 50%;
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
|
div[data-colunas="flex"] {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 500px) and (max-width: 800px) {
|
|
div[data-colunas="flex"] {
|
|
background-color: #555500;
|
|
}
|
|
}
|
|
</style>
|
|
<section id="bloco-flex">
|
|
<h1>FLEX</h1>
|
|
<div class="tipos-veiculos" data-colunas="flex">
|
|
<div>
|
|
<h2>Carro</h2>
|
|
<p>Andam em estradas, têm quatro pneus.</p>
|
|
</div>
|
|
<div>
|
|
<h2>Barco</h2>
|
|
<p>Flutua e se deslocar sobre água.</p>
|
|
</div>
|
|
<div>
|
|
<h2>Avião</h2>
|
|
<p>Com asas fixas e motores para se sustentar no ar.</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
<script src="scripts/main.js"></script>
|
|
</body>
|
|
</html>
|