Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .tilted {
- /* NOTE: will look wonky if the text isn't centered.. */
- animation-name: tilting;
- animation-duration: 2s;
- animation-iteration-count: infinite;
- text-align: center;
- }
- @keyframes tilting {
- 0% {
- transform: rotate(
- 5deg);
- }
- 50% {
- transform: rotate(
- -5deg);
- }
- 100% {
- transform: rotate(
- 5deg);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment