/* {{Wn/bn/শৈলী পৃষ্ঠা}} */
.news-ticker {
display: flex;
border: 2px solid #777;
align-items: center;
overflow: hidden;
margin-top: 1em;
margin-bottom:1em;
}
.ticker-title {
background: #df2020;
height: 100%;
display: flex;
align-items: center;
padding: 0 24px;
color: white;
font-weight: bold;
z-index: 200;
}
.ticker-items {
white-space: nowrap;
animation: ticker 26s infinite linear;
}
.ticker-item {
padding: 10px 20px;
border-right: 2px solid #777;
display: inline-block;
opacity: 0;
animation: ticker-items 26s infinite linear;
}
@keyframes ticker {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(calc(-100% - 50px));
}
}
@keyframes ticker-items {
0%, 100% {
opacity: 0;
}
5%, 95% {
opacity: 1;
}
}