jquery+css实现人物头像点击文字介绍卡片变换tab选项卡效果代码
代码语言:html
所属分类:选项卡
代码描述:jquery+css实现人物头像点击文字介绍卡片变换tab选项卡效果代码
代码标签: jquery css 人物 头像 点击 文字 介绍 卡片 变换 tab 选项卡
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.4.3.1.min.css">
<style>
body {
font-size: 100%;
font-family: "Nunito", sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(250.48deg, #161616 22.86%, #303030 99.18%);
width: 100%;
height: 100vh;
}
img {
width: 100%;
max-width: 100%;
vertical-align: middle;
}
#box_area {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
overflow: hidden;
margin: 0;
padding: 0;
}
.block {
position: absolute;
display: block;
list-style: none;
width: 200px;
height: 200px;
top: 50%;
left: 50%;
background: #01c0da;
filter: blur(15px);
border-radius: 50%;
opacity: 0.7;
}
#box_area .block:nth-child(1) {
width: 15vh;
height: 15vh;
top: 50%;
left: 24%;
transition: 1s;
opacity: 0.7;
transition-timing-function: ease-in-out;
}
#box_area .block:nth-child(2) {
width: 10vh;
height: 10vh;
top: .........完整代码请登录后点击上方下载按钮下载查看
















网友评论0