css实现大气业务介绍解决方案选项卡悬浮切换效果代码

代码语言:html

所属分类:布局界面

代码描述:css实现大气业务介绍解决方案选项卡悬浮切换效果代码

代码标签: css业务介绍 解决方案 选项卡 悬浮 切换

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

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
<style>
    @charset "utf-8";
	* {
	margin:0;
	padding:0;
	box-sizing:border-box;
	font-family:"Arial";
	color:#6F7479;
	font-weight:normal
}
:after,:before {
	box-sizing:inherit
}
a {
	text-decoration:none;
	color:inherit
}
ul {
	list-style:none
}
/*背景*/
.bg-blue {
	background:url("//repo.bfw.wiki/bfwrepo/image/60723a0eef86f.png") no-repeat center;
	background-size:cover
}
.developer-solution-block {
	position:relative;
	max-width:none;
	padding:50px 0;
	text-align:center;
	clear:both;
	margin:0 auto
}
/*大标题*/
.titleBar .caption {
	font-size:36px;
	color:#252b3a;
	letter-spacing:0;
	text-align:center;
	line-height:46px;
	margin-bottom:10px
}
.descript {
	margin-bottom:40px;
	font-size:16px;
	color:#A0A2A8
}
.developer-solution-block .titleBar {
	max-width:1200px;
	margin:0 auto;
	text-align:center
}
.developer-solution-block .titleBar .caption,.developer-solution-block .titleBar .descript {
	color:#fff
}
.developer-solution-block .developer-solution {
	max-width:1180px;
	margin:0 auto;
	padding:0 60px;
	background:none
}
/*左边分类*/
.developer-solution .solution-tab {
	font-size:18px;
	color:#ffffff;
	line-height:28px;
	text-align:center;
	display:inline-block;
	width:300px;
	margin-right:100px;
	float:left
}
.developer-solution .solution-tab ul {
	padding:20px 0;
	background:rgba(255,255,255,0.20);
	opacity:1;
	box-shadow:-18px 6px 8px 0 rgba(0,0,0,0.20);
	border-radius:2px;
	width:260px
}
.solution-tab ul li {
	padding:20px 30px;
	width:260px;
	text-align:left;
	color:#ffffff
}
.solution-tab ul li.active {
	width:300px;
	background:#f66f6a;
	box-shadow:0 8px 16px 0 rgba(227,24,31,0.30);
	border-radius:2px;
	margin-left:-20px;
	padding-left:50px
}
.solution-tab li:hover {
	cursor:pointer;
}
/*右边内容标题详情*/
.developer-solution .solution-detail {
	width:calc(100% - 400px);
	display:inline-block;
	vertical-align:top;
	height:270px;
	padding-top:50px;
	text-align:left
}
.developer-solution .solution-detail ul li {
	display:none
}
.developer-solution .solution-detail ul li.active {
	display:block
}
.solution-detail li .title {
	font-size:22px;
	color:#ffffff;
	line-height:28px;
	text-align:left;
	margin-bottom:14px
}
.solution-detail li .detail {
	font-size:14px;
	color:#ffffff;
	line-height:22px;
	text-align:left
}
/*产看更多按钮*/
.solution-detail li .more-btn {
	display:inline-block;
	position:relative;
	border:1px solid #ffffff;
	border-radius:2px;
	font-size:14px;
	color:#ffffff;
	text-align:center;
	padding:8px 45px 8px 30px;
	line-height:22px;
	margin-top:30px
}
.solution-detail li .more-btn:before {
	content:"";
	position:absolute;
	right:26px;
	top:14px;
	width:13px;
	height:9px;
	display:inline-block;
	background:url("//repo.bfw.wiki/bfwrepo/icon/5df879d2377c4.png") no-repeat center
}
.solution-detail li .more-btn:hover {
	color:#fa6f66;
	border:1px solid #fa6f66
}
.solution-detail li .more-btn:hover:before {
	background:url("//repo.bfw.wiki/bfwrepo/icon/5df879d2377c4.png") no-repeat center;
	right:20px;
	-webkit-transition:all .3s;
	-moz-transition:all .3s;
	-ms-transition:all .3s;
	-o-transition:all .3s;
	transition:all .3s
}

</style>

</head>

<body>

    
    <div class="bg-blue" style="margin-top:100px;">
        <div class="developer-solution-block">
            <div class="titleBar">
                <h3 class="caption">解决方案</h3>

                <p class="d.........完整代码请登录后点击上方下载按钮下载查看

网友评论0