JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html lang="it-IT">
<head>
<title>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- [if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<! [endif] -->
<link rel="icon" type="image/x-icon" href="../../images/icons/favicon.ico">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/all.css" integrity="sha384-3AB7yXWz4OeoZcPbieVW64vVXEwADiYyAEhwilzWsLw+9FgqpyjjStpPnpBO8o8S" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/piattistyles.css">
</head>
<body>
<nav>
<ul>
<li><a href="../../index.html">HOME</a></li>
<li><a href="#">REGIONI</a>
<ul>
<li><a href="#">NORD</a>
<ul>
<li><img class="region" src="../../images/icons/emiliaromagna.png"><a href="../../regioni/emiliaromagna/emiliaromagna.html">EMILIAROMAGNA</a></li>
<li><img class="region" src="../../images/icons/friuli.png"><a href="../../regioni/friuli/friuli.html">FRIULI</a></li>
<li><img class="region" src="../../images/icons/liguria.png"><a href="../../regioni/liguria/liguria.html">LIGURIA</a></li>
<li><img class="region" src="../../images/icons/lombardia.png"><a href="../../regioni/lombardia/lombardia.html">LOMBARDIA</a></li>
<li><img class="region" src="../../images/icons/piemonte.png"><a href="../../regioni/piemonte/piemonte.html">PIEMONTE</a></li>
<li><img class="region" src="../../images/icons/trentino.png"><a href="../../regioni/trentino/trentino.html">TRENTINO</a></li>
<li><img class="region" src="../../images/icons/valledaosta.png"><a href="../../regioni/valledaosta/valledaosta.html">VALLE D'AOSTA</a></li>
<li><img class="region" src="../../images/icons/veneto.png"><a...
CSS
@font-face {
font-family: 'Rude Cookie Brush';
src: url(../fonts/Rude Cookie Brush.otf) format("opentypefont");
}
body {
background-image: url(../images/background.jpg);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
color: #8d7200;
font-family: 'Rude Cookie Brush', Arial, Verdana, sans-serif;
font-size: 30px;
}
nav {
position: absolute;
margin: 0;
background-color: rgba(55,119,189,0.1);
font-family: 'Times New Roman', sans-serif;
color: #FFFFFF;
font-size: 25px;
font-weight: bold;
text-shadow: 1px 1px lightgray;
letter-spacing: 5px;
}
nav ul {
padding: 0;
margin: 0;
position: relative;
list-style-type: none;
z-index: 999;
}
nav ul li {
margin: 0 -7px 0 0;
display: inline-block;
background-color: rgba(55,119,189,0);
}
nav a {
display: block;
padding: 0 20px;
color: #FFFFFF;
font-size: 20px;
line-height: 60px;
text-decoration: none;
transition: background-color .5s ease-in-out, border-bottom .5s ease-in-out;
}
nav a:hover, nav a:focus {
background-color: #84C945;
border-bottom: 4px solid #FBFFCE;
}
nav ul ul {
display: none;
position: absolute;
top: 100%;
background-color: rgba(55,119,189,0.3)
}
nav ul ul a {
border-bottom: none;
}
nav ul li:hover > ul {
display: inherit;
}
nav ul ul li {
min-width: 170px;
display: list-item;
position: relative;
}
nav ul ul ul {
position: absolute;
top: 0;
left: 100%;
}
nav ul ul ul a {
padding: 0 20px 0 50px;
}
.region {
float: left;
width: 35px;
height: 35px;
margin: 13px 0 0 8px;
}
header {
position: relative;
height: 400px;
overflow: hidden;
background-image: url(../images/header.jpg);
background-repeat: no-repeat;
background-size: 100% 100%;
box-shadow: 2px 2px 5px gray;
}
/*-- Start header animation --*/
.h1a, .h1b {
position: relative;
text-align: center;
backface-visibility: hidden;
}
.h1a span {
display: inline-block;
position: relative;
top: 70px;
font-size: 200px;
font-weight: bold;
color:...