0
I have the following html:
<div class=" row container-fluid" id="quemsomos">
<div class="col-md-6" id="nossoperfil">
<h4> Nosso Perfil </h4>
<p> descrição sobre a empresa </p>
</div>
<div class="col-md-6" id="empilhadeiraum">
<img src="_img/empilhadeira.png" >
</div>
And the following CSS:
#quemsomos{
position: relative;
margin-top: 20px;
}
#nossoperfil{
border: 2px solid black;
border-radius: 5px;
padding: 10px;
margin: 30px;
height: 230px;
position: absolute;
animation: nossoperfil 2s linear 0s forwards;
}
#empilhadeiraum{
position: absolute;
margin-left: 800px;
animation: empilhadeiraum 2s linear 1s forwards;
}
@keyframes nossoperfil {
0% {
left: 100%;
}
100% {
left: 30px;
}
@keyframes empilhadeiraum {
0% {
left: 100%;
}
100% {
left: 200px;
}
My difficulty is in putting the same effect that occurs in the div "nossoperfil" in the next div , which contains the image, the image does not respond to animation