0
Olas! I’m having trouble using this Rule because it doesn’t recognize the first line, so it doesn’t perform the animation. I don’t know what else to do, because even if I erase the line, the bottom line is no longer recognized. What I realized is that when you have an "{" bracket open and I put the first percentage and open another "{" bracket to define the effect, I close the "}" bracket and move to the second percentage for another effect, this first line is not recognized as a command, only the second. That is, it is not accepting two open brackets in the same Rule. {{ }}
Please, if anyone has ever been through this, I’d really appreciate the help. Thank you in advance.
PS.: The photo I kept so you can see the question of accepting the code by the color characteristics of the editors, which in this case is not as blue as it should be.
HTML CODE Slide Show
<style>*{padding: 0; margin:0;}</style>
Slider Teste
<section class="galeria">
<img class="foto" src="imagem 1.jpg" />
<img class="foto" src="imagem 2.jpg" />
<img class="foto" src="imagem 3.jpg" />
</section>
CSS CODE
section.galeria {
margin: 200px auto;
width: 480px;
position: relative;
overflow: hidden;
}
section.foto {
position: absolute;
opacity: 0;
animation-name: animacao;
}
@keyframes animacao {
25% {
opacity: 1;
transform: scale(1.1,1.1);
}
50% {
opacity: 0;
}
}
==========================================================
following how you are calling the function which parameters are being passed to which
animacao
be executed? something else these snippets of code you can insert them directly into the question without the need to insert images.– WMomesso
That’s not a bracket, it’s a key :p
– Sam
>> Dvd>> worse, I missed badly, Valew by the warning. >>Wmomesso>> I put in the edited question, here it was out of print.:
– Tiago Oliveira de Moraes