纯css实现tab选项卡切换效果代码
代码语言:html
所属分类:选项卡
代码描述:纯css实现tab选项卡切换效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Archivo&display=swap");
* {
margin: 0;
padding: 0;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
body {
padding: 20px;
text-align: left;
font-family: 'Archivo', sans-serif;
color: black;
background: #FC00FF;
}
.centering {
margin: auto;
position: absolute;
width: 23.155em;
left: 0;
right: 0;
top: 10em;
bottom: 0;
}
h1 {
font-weight: normal;
font-size: 40px;
font-weight: normal;
text-transform: uppercase;
font-family: "Raleway", sans-s.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0