实例:带进度条的人物卡片切换效果
技术栈:HTML+CSS
效果:
源码:
【html】
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<title>纯CSS实现带进度条的人物卡片切换效果</title>
<link rel="stylesheet" href="156.css">
</head>
<body>
<div class="container">
<input type="radio" name="select" id="slide_1" checked hidden>
<input type="radio" name="select" id="slide_2" hidden>