Day # 13: Rotating Words


One of the things I like the most about CSS is the ability to animate text. I have a future project in mind in which I’d like to delve into it in more detail, but for now, I just wanted to focus on creating a simple animation that consists of rotating text.
With that in mind, I came up with a list of benefits of teaching. These are some of the feelings I have gained throughout my teaching experience. That list consists of several <span>, on which I set their display property to block. The key to the animation is to use the “transform: translateY()” value in a way that it looks as if the word is going up and slightly back down. The other value that we need to consider is the overflow property of the words container, which needs to be set to “hidden”, so that it can only show one word at a time. In other words, that container can only hold one word during the animation. I am sure I will be able to incorporate this small animation into a bigger project very soon. Stay tuned, and you will discover it when I post it!

Comments

Popular posts from this blog

Day # 35: Flip Book

Day # 1: Homepage w/Introduction

Day # 8: Inspiration