marquee

Is there an custom element (html) that displays text, but does some automatic scrolling when the text overflows?

Do I understand correctly that you would like to have a text container that would automatically scroll the text either horizontally or vertically with some speed (and maybe looping?) when the text doesn’t fully fit in the container? Something like the obsolete [<marquee>]
(https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee) element?

I’m not aware of such ready made custom element, but there’s this tutorial on how to make a simple one like it https://medium.com/@cu_tech/what-is-litelement-lithtml-39ec3eae985e

Kari Söderholm:
Do I understand correctly that you would like to have a text container that would automatically scroll the text either horizontally or vertically with some speed (and maybe looping?) when the text doesn’t fully fit in the container? Something like the obsolete [<marquee>]
(https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee) element?

I’m not aware of such ready made custom element, but there’s this tutorial on how to make a simple one like it https://medium.com/@cu_tech/what-is-litelement-lithtml-39ec3eae985e

Yes, what you describe is what I’m after. It seems to me like a nice simple web component…perhaps I’ll just do my own, like the example :slight_smile: Thanks for that.