css实现文字悬浮翻转动画效果代码
代码语言:html
所属分类:悬停
代码描述:css实现文字悬浮翻转动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> body { background: #16a085; color: #fff; text-transform: uppercase; font: Helvetica, Arial; font-size: 18px; text-shadow: 0 0 1px rgba(255,255,255,0.3); } ul { list-style: none; display: block; margin: 60px auto; width: 400px; padding: 0; } li { position: relative; display: inline-block; width: 40px; height: 40px; line-height: 40px; text-align: center; cursor: pointer; margin: 0; padding: 0; perspective: 1000px; } li span { position: relative; display: inline-block; width: 40px; background: #1abe9e; transition: transform 0.3s; transform.........完整代码请登录后点击上方下载按钮下载查看
网友评论0