JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE HTML>
<html lang="pt-br">
<head>
<!-- tag's obrigatórias para uso de bootstrap-->
<meta charset="UTF-8">
<meta name="view_port" content="width-device-width", initial-scale="1", shrink-to-fit="no" >
<title>Restauradora CESM</title>
<link rel="stylesheet" href=" css/design.css"/>
<script type="text/javascript" src=" scripts/script_js.js"></script>
</head>
<body class="corpo_pages">
<div class="cabecalho">
<h3 style="text-align:center">Nosso foco é a satisfação do cliente!!!</h3>
<figure class="conf_logo">
<img src="imagens/logo.PNG"/>
</figure>
</div>
<hr />
<div class="menu_nav">
<div class="btn_menu">
<figure class="conf_logo">
<img src=" imagens/menu.JPG"/>
</figure>
<div class="menu_pages">
<figure class="conf_logo">
<img src=" imagens/menu.JPG"/>
</figure>
<a href="Home.html">Home</a>
<a href="Galeria.html">Galeria</a>
<a href="Empresa.html">Quem Somos</a>
<a href="Contato.html">Contato</a>
</div>
</div>
</div>
<br/>
<section>
<p>Aqui será o texto da página principal</p>
</section>
</body>
</html>
CSS
* {
margin: 0;
padding: 0;
}
/* seletor-widget: configuração de tela para dispositivos (smartphones, tablets, etc.) */
.seletor-widget {
box-sizing: content-box;
}
/* conf_logo: configurações para o logo da página */
.conf_logo img {
max-width: 700px;
max-height: 200px;
border-radius: 550px;
width: auto;
height: auto;
}
/* .check: responsável pelo drop e down do menu*/
.check {
display: none;
}
/* .icone: configuração para o ícone de menu */
.icone {
margin-top: 2px;
margin-right: 64px;
max-height: 10px;
max-width: 15px;
width: auto;
height: auto;
float: right;
border: 1px solid #c0c0c0;
}
body .cabecalho {
background-color: #a6a6a6;
font-family: arial, helvetica, sans-serif;
font-size: 19px;
}
/* Fix IE. Hide from IE Mac \*/
* html ul li {
float: left;
}
* html ul li a {
height: 1%;
}
/* End */
.btn_menu {
background-color: #cccccc;
color: white;
padding: 16px;
font-size: 16px;
border: none;
float: right;
}
.btn_menu:hover > .menu_pages {
display:block;
}
.menu_nav {
position: relative;
display: inline-block;
float: right;
}
.menu_pages {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.menu_pages a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.menu_pages a:hover {
background-color: #ddd;
}
.menu_nav:hover .menu_pages: {
display: block;
}
.menu_nav:hover .btn_menu {
background-color: #3e8e41;
}
.corpo_pages {
text-indent: 20px;
background-color: #d9ffb3;
font-size: 19px;
margin-left: 0.8cm;
margin-right: 0.5cm;
}
/* Final page style
!!Below this line, Gallery's code starts!!*/
/* Slideshow container */
.gallery-container {
width: 90%;
position: relative;
margin: 0 5%;
background: #333;
padding: 2px;
}
@media (min-width: 400px) {
.gallery-container {
width: 700px;
margin: auto;
}
}
/* Hide the images...