纯css卡片层叠切换效果
代码语言:html
所属分类:幻灯片
代码描述:纯css卡片层叠切换效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css2?family=Cabin:wght@400;700&display=swap" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="http://repo.bfw.wiki/bfwrepo/css/all.min.css">
<style>
*, *::before, *::after {
box-sizing: border-box;
}
html, body {
height: 100%;
}
body {
margin: 0;
display: grid;
align-items: center;
justify-items: center;
height: 100%;
color: #f4f7f7;
background-color: #586875;
font: 1rem/1 'Cabin', sans-serif;
overflow-x: hidden;
}
/* hide radio buttons, but still expose them to screen readers */
input {
position: absolute;
width: 1px;
clip: rect(0 0 0 0);
overflow: hidden;
white-space: nowrap;
}
.selector {
display: grid;
grid-template-ar.........完整代码请登录后点击上方下载按钮下载查看
网友评论0