Hello, I'm creating a calendar for my animes site and would like to redirect every <div>
to a certain place. In case I made a page like this:
Iwouldlikeeveryonetotakeyoutoaspecificpage.
(Doubtalreadyclarified..)
body {
margin: 0px;
padding: 0px;
background-image: url(https://i.imgur.com/jSCKYV9.jpg );
background-repeat: no-repeat;
background-attachment: fixed;
}
.dia {
margin: 0px;
width: 100%;
height: 50px;
background-color: black;
opacity: 0.7;
}
.dia h1 {
margin: 0px;
padding: 0px;
text-align: center;
color: white;
font-size: 30px;
font-family: "Comic Sans MS";
}
.buttons {
padding-left: 5px;
padding-top: 10px;
padding-right: 5px;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
}
.buttons * {
transition: all .5s ease;
}
<!DOCTYPE html>
<html>
<head>
<title>Calendário 2018 - G1Animes</title>
<meta charset="utf-8">
</head>
<body>
<div class="dia" id="segunda">
<h1>Segunda-Feira</h1>
</div>
<div class="buttons">
</div>
<div class="dia" id="terca">
<h1>Terça-Feira</h1>
</div>
<div class="buttons">
</div>
<div class="dia" id="quarta">
<h1>Quarta-Feira</h1>
</div>
<div class="buttons">
</div>
<div class="dia" id="quinta">
<h1>Quinta-Feira</h1>
</div>
<div class="buttons">
</div>
<div class="dia" id="sexta">
<h1>Sexta-Feira</h1>
</div>
<div class="buttons">
</div>
<div class="dia" id="sabado">
<h1>Sábado</h1>
</div>
<div class="buttons">
</div>
<div class="dia" id="domingo">
<h1>Domingo</h1>
</div>
<div class="buttons">
</div>
</body>