There are many properties that you can set for your HTML elements and then use animation keyframes to change those properties over time. You can also set the animation to run forever by setting the iteration-count to "infinite".
Notice in the example below that the animation actually pushes down the content on the page. This can be annoying so be careful using trasform translateX.
Play around with the different properties available in CSS Animation before moving on.