css实现文字圈圈悬浮边框放大动画效果代码
代码语言:html
所属分类:悬停
代码描述:css实现文字圈圈悬浮边框放大动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> button { height: 4rem; flex: 0 0 4rem; background: hsla(285, 68%, 40%, 1); border: none; outline: 10px solid #0000; outline-offset: 1rem; border-radius: 50%; font-size: 24pt; color: #fff; transition: 0.25s ease; cursor: pointer; } button:hover { outline: 1px solid #ffdf33; outline-offset: 0; } *, * + * { padding: 0; margin: 0; box-sizing: border-box; } body { min-height: 100vh; display: flex.........完整代码请登录后点击上方下载按钮下载查看
网友评论0