纯css实现可过滤数据的tab标签选项卡

代码语言:html

所属分类:选项卡

代码描述:纯css实现可过滤数据的tab标签选项卡

代码标签: 过滤 数据 tab 标签 选项

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">

<style>
body {
  margin: 0;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.85);
  color: whitesmoke;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
}

.wrapper {
  width: 100%;
  padding: 60px 0;
  position: relative;
  display: flex;
  justify-content: center;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}

[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label {
  position: rel.........完整代码请登录后点击上方下载按钮下载查看

网友评论0