css实现按钮鼠标悬浮文字分割翻转动画效果代码
代码语言:html
所属分类:悬停
代码描述: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" /> <title>BFW NEW PAGE</title> <style> body{ margin: 100px; background: #212121; } .button { display: flex; } .box { width: 35px; height: 40px; display: flex; justify-content: center; align-items: center; font-size: 15px; font-weight: 700; color: #fff; transition: all .8s; cursor: pointer; position: relative; background: rgb(58, 165, 253); overflow: hidden; } .box:before { content: "W"; position: absolute; top: 0; background: #0f0f0f; width: 100%; height: 100%; display: flex; align-item.........完整代码请登录后点击上方下载按钮下载查看
网友评论0