circletype文字旋转动画效果
代码语言:html
所属分类:动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> body { display: -webkit-box; display: flex; min-height: 100vh; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; } p { text-transform: uppercase; } .small { -webkit-animation: linear 15s rotate infinite; animation: linear 15s rotate infinite; } .medium { animation: linear 30s rotate reverse infinite; } @-webkit-keyframes rotate { from { -webkit-transform: rotateZ(0deg); transform: rotateZ(0deg); } to { -webkit-transform: rotateZ(360deg); transform: rotateZ(360deg); } } @keyframes ro.........完整代码请登录后点击上方下载按钮下载查看
网友评论0