div+css实现文字悬浮变亮动画效果代码
代码语言:html
所属分类:悬停
代码描述:div+css实现文字悬浮变亮动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum=1.0,minimum=1.0,user-scalable=0" /> <style> body{ background: black; padding: 100px; } /* === removing default button style ===*/ .button { margin: 0; height: auto; background: transparent; padding: 0; border: none; cursor: pointer; } /* button styling */ .button { --border-right: 6px; --text-stroke-color: rgba(255,255,255,0.6); --animation-color: #37FF8B; --fs-size: 2em; letter-spacing: 3px; text-decoration: none; font-size: var(--fs-size); font-family: "Arial"; position: relative; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px var(--.........完整代码请登录后点击上方下载按钮下载查看
网友评论0