Hallo,
ein Laufband soll je nach Breite @media (max-width: xxx) jeweils unterschiedliche Werte bei 100% /text-indent: ) aufweisen:
-450% für mobile Geräte und -100% für Desktop. Wie muss da die ANleitung lauten?
<style>
@keyframes marquee {
0% { text-indent: 100% }
100% { text-indent: -450% }
}
.marquee {
width: 100%;
margin: auto;
padding: 5px;
overflow: auto;
white-space: nowrap;
border: solid 1px #CCCCCC;
animation: marquee 25s linear infinite;
background-color: rgb(204, 0, 51);
font-size: 18px;
font-weight: bold;
color: #ffffff;
}
.marquee:hover {
animation-play-state: paused;
}
</style>
<p class="marquee">TEXTETXTE TEXT .... .........!</p>
Vielen Dank für Euro Hilfe
AnaLisa