-1
good afternoon! All right?
I wish that when the person entered the site, the image appeared smoothly. I’m trying with opacity and visibility, but it’s not working.
CSS code below:
header {
width: 1000px;
height: auto;
margin: 0px auto;
}
header img {
display: block;
margin-left: auto;
margin-right: auto;
visibility: hidden;
}
img {
visibility: visible;
transition: 2s;
}
Could help how to do or some suggestion?
This answers your question? Image appearing with Fad-in effect after loading page
– Cmte Cardeal
I tried it here with this Animation and Loaded, but it didn’t work either. I can only use CSS, no JS.
– Stanley