CSS Marquee Effect

We have a client who wants to use the <marquee> tag inside of the WordPress WYSIWYG. Obviously this is not a best practice, but the client wants what they want. So I looked around and came up with a solution that worked for me.

CSS

The padding on either side allows leading and trailing white space in the marquee.

HTML

There we go! Hopefully you can see it working below.