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: 23%; left: 72%; transition: 1.7s; opacity: 0.7; transition-timing-function: ease-in-out; } #box_area .block:nth-child(3) { width: 25vh; height: 25vh; top: 11%; left: 49%; transition: 1.7s; opacity: 0.5; transition-timing-function: ease-in-out; } #box_area .block:nth-child(4) { width: 70vh; height: 70vh; top: 48%; left: 67%; transition: 1.7s; opacity: 0.2; transition-timing-function: ease-in-out; } #box_area .block:nth-child(5) { width: 50vh; height: 50vh; top: 8%; left: 4%; transition: 1.3s; opacity: 0.4; transition-timing-function: ease-in-out; } #box_area .block:nth-child(6) { width: 22vh; height: 22vh; top: 72%; left: 34%; transition: 1.3s; opacity: 0.6; transition-timing-function: ease-in-out; } #box_area.card-zara-bg .block:nth-child(1) { top: 50%; left: 25%; } #box_.........完整代码请登录后点击上方下载按钮下载查看
网友评论0