You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

87 lines
2.3 KiB

<!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>
<h1>Mario's World</h1>
<p>
<a href="tabela.html">Games</a>
&middot;
<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/>
<style>
</style>
<section id="bloco-grid">
<h1>GRID</h1>
<div data-colunas="grid" class="grid">
<div>
<h2>Carro</h2>
<p>Andam em estradas, t&ecirc;m quatro pneus.</p>
</div>
<div>
<h2>Barco</h2>
<p>Flutua e se deslocar sobre &aacute;gua.</p>
</div>
<div>
<h2>Avi&atilde;o</h2>
<p>Com asas fixas e motores para se sustentar no ar.</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&ecirc;m quatro pneus.</p>
</div>
<div>
<h2>Barco</h2>
<p>Flutua e se deslocar sobre &aacute;gua.</p>
</div>
<div>
<h2>Avi&atilde;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>