css实现鼠标悬浮按钮浮现图标子菜单分享按钮效果代码
代码语言:html
所属分类:悬停
代码描述:css实现鼠标悬浮按钮浮现图标子菜单分享按钮效果代码
代码标签: css 鼠标 悬浮 按钮 浮现 图标 子 菜单 分享
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.5.15.3.css">
<style>
* {
margin: 0;
padding: 0;
}
body {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
height: 100vh;
background-color: #FEFEFE;
}
i {
opacity: 0;
font-size: 28px;
color: #1F1E1E;
will-change: transform;
-webkit-transform: scale(.1);
transform: scale(.1);
-webkit-transition: all .3s ease;
transition: all .3s ease;
}
.btn_wrap {
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
overflow: hidden;
cursor: pointer;
width: 240px;
height: 72px;
backgroun.........完整代码请登录后点击上方下载按钮下载查看
网友评论0