svg+css实现科技感圆圈悬浮边缘动画效果代码
代码语言:html
所属分类:悬停
代码描述:svg+css实现科技感圆圈悬浮边缘动画效果代码画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Raleway:300,400,800'> <style> * { box-sizing: border-box; } html, body { height: 100%; } body { padding: none; margin: none; font-size: 18px; font-family: "Raleway", sans-serif; background-color: #262626; } a { text-decoration: none; float: left; } .wrapper { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; } .wrapper .container .btn { width: 200px; height: 200px; color: #257F7F; text-align: center; font-size: 80%; line-height: 200px; text-transform: uppercase; position: relative; display: block; border: 1px solid #257F7F; border-radius: 50%; transition: 300ms ease; } .wrapper .container .btn:hover { color: #97FFFF; border-color: #97FFFF; background-color: rgba(37, 127, 127, 0.25); } .wrapper .container .border { width: 100%; heig.........完整代码请登录后点击上方下载按钮下载查看
网友评论0