Afanasev_Stepan_PIbd-21_IP/ИП 3 лаба/css/banner.css
[USERNAME] 0dd26716dc Lab2-5
2024-01-10 16:11:49 +04:00

25 lines
421 B
CSS

#banner {
margin: 5px;
display: flex;
align-items: center;
flex-direction: column;
}
#banner img {
border: 1px solid #3c3c3f;
border-radius: 5px;
}
#banner img.banner-show {
width: 100%;
opacity: 1;
transition: opacity 1s, visibility 0s;
}
#banner img.banner-hide {
height: 0;
width: 0;
opacity: 0;
visibility: hidden;
transition: opacity 1s, visibility 0s 1s;
}