css实现悬浮三维3d按钮变形动画效果代码
代码语言:html
所属分类:悬停
代码描述:css实现悬浮三维3d按钮变形动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> body { margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; height: 100vh; background: #04A04F; } a { position: relative; padding: 20px 20px 20px 30px; color: #fff; font-size: 20px; font-family: sans-serif; text-decoration: none; text-transform: uppercase; letter-spacing: 10px; transition: 0.5s; } a:hover { background: #04A04F; transition-delay: .5s; transform: rotate(-30deg) skew(25deg); box-shadow: -30px 30px 50px rgba(0,0,0,.4); } a:before, a:after { content: ''; position: absolute; width.........完整代码请登录后点击上方下载按钮下载查看
网友评论0