css实现金属光泽3D按钮悬浮倾斜交互效果代码
代码语言:html
所属分类:悬停
代码描述:css实现金属光泽3D按钮悬浮倾斜交互效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> body { padding:0; margin: 0; display: flex; align-items: center; justify-content: center; min-height: 100vh; background: #343346 } button { background: linear-gradient(to right, gold, darkorange); color: white; width: 350px; height: 85px; text-align: center; line-height: 85px; font-size: 34px; font-family: sans-serif; letter-spacing: 0.2em; border: 1px solid darkgoldenrod; border-radius: 2em; transform: perspective(500px) rotateY(-15deg); text-shadow: 6px 3px 2px rgba(0.........完整代码请登录后点击上方下载按钮下载查看
网友评论0