1
I would like some help to align the footer
responsiveness. Put the copyright down further (I’ve tried padding
, but it disappears) and align the separators in the section(border-right)
, the rest is working, I’ll leave the codepen.
body {
margin:0;
padding:0;
display:flex;
min-height: 100vh;
flex-wrap;
}
footer{
Position:relative;
align-self:flex-end;
background-color:#222;
color:#fff;
min-height:2;
text-align: center;
width:100%;
}
footer:after{
content: '\00a9 Infogyba Soluções em Ti ';
position: absolute;
width: 100%;
color: #8c8c96;
font-size:1em;
font-weight:600;
font-family:'Arial',sans-serif;
text-align: center;
bottom:0;
display:block;
}
.section{
float:left;
width:33%;
height:auto;
border-right:1px;
border-right-style: outset;
}
@media only screen and (max-width: 800px) {
.section{
float: none;
width: 100%;
}
}
footer td,h2{
font-size:1em;
font-weight:600;
font-family: 'Arial',sans-serif;
text-align:center;
display:inline-block;
}
footer .section a:hover{
display: inline-block;
position: relative;
-webkit-animation-name: rotacao; /* Chrome, Safari, Opera (nome da animação)*/
-webkit-animation-duration: 2s; /* Chrome, Safari, Opera (Duração da animação)*/
animation-name: rotacao; /* nome da animação */
animation-duration: 2s; /* Duração da animação */
}
@keyframes rotacao {
from {transform: rotate(1deg);}
to {transform: rotate(360deg);}
}
@media screen and(max-width:768){
footer{
padding-bottom: 3em;
}
}
<footer>
<div class ="section">
<h2>Nosso endereço:</h2>
<br>
<td>Rua blalal, 132 - Irajá</td>
<td>Rio de Janeiro Cidade - RJ.</td>
<td>Cep: 21300-630</td>
<br>
<td>Email:</td>
<td>[email protected]</td>
</div>
<div class ="section">
<h2>Consulte-nos:</h2>
<br>
<td>Telefone: (21)9999-9999</td>
<td>Horário de Atendimento</td>
<td>de Seg a Sexta: 08:00 as 17:00</td>
</div>
<div class ="section">
<h2>Fale conosco nas Redes Sociais:</h2><br>
<td><a href="#"><img src="imagens/facebook.png"></a>
<a href="#"><img src="imagens/twitter.png"></a>
<a href="#"><img src="imagens/youtube.png"></a>
<a href="#"><img src="imagens/google.png"></a>
</br></td>
</div>
</footer>
have tried to put
.section {width: 33%;}
?– RFL
yes , moves down.
– Clayton Campos
You want the sections to stay centralized is this?
– RFL
yes and put the copyright down below the content where I reduce the page,.
– Clayton Campos