css实现pc端全屏tab多标签卡片图文效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现pc端全屏tab多标签卡片图文效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <style> @charset "utf-8"; * { padding: 0; margin: 0; font-family: "微软雅黑"; box-sizing: border-box; outline: none; color: inherit; font-size: inherit; font-weight: normal } :after,:before { box-sizing: inherit } a { text-decoration: none; color: inherit } ul { list-style: none } .overflow-hide { overflow: hidden } .col-sm-3 { width: 25%; float: left; position: relative } .pavilion-container { padding-bottom: 50px; background: url(//repo.bfw.wiki/bfwrepo/image/606bc8f0452bb.png); background-size: cover; background-repeat: no-repeat; background-position: center; min-height: 720px } .layer-title { padding: 50px 0 30px; text-align: center; font-size: 30px; color: #fff; letter-spacing: 1.09px } /*tab分类*/ .pavilion-container .pavilion-inner { max-width: 1200px; margin: 0 auto } .pavilion-container .pavilion-inner .tabs { padding: 0 10px } .pavilion-container .pavilion-inner .tabs li { float: left; padding: 0 21px; border: 1px solid #c9a467; border-radius: 2px; line-height: 36px; font-size: 16px; color: #c9a467; letter-spacing: .35px } .pavilion-container .pavilion-inner .tabs li { margin-left: 21.2667px; cursor: pointer } .pavilion-container .pavilion-inner .tabs li:first-child { margin-left: 0 } .pavilion-container .pavilion-inner .tabs li.on { background: #c9a467; color: #1c1f36 } .pavilion-container .pavilion-inner .tabs li .hot-icon { width: 18px; height: 24px; background: url(//repo.bfw.wiki/bfwrepo/image/60e1adff96ce8.png); margin-right: 10px; background-repeat: no-repeat } .pavilion-container .pavilion-inner .tabs li.on .hot-icon { background: url(//repo.bfw.wiki/bfwrepo/image/60e1adff96ce8.png) } .pavilion-container .pavilion-inner .tabs li>span { display: inline-block; vertical-align: middle } /*tab内容*/ .pavilion-container .tab-content-wrap { position: relative; margin-top: 20px; height: 420px } .pavilion-container .tab-content { position: absolute; top: 65px; transition: all .5s linear; opacity: 0; z-index: -1; height: 0; width: 100% } .pavilion-container .tab-content.show { height: auto; opacity: 1; top: 0; z-index: 1 } .pavilion-container .tab-content .col-sm-3 { padding: 0 10px } .pavilion-container .tab-content .col-sm-3 .tab-card { position: relative; padding: 20px; background: #fff; border-radius: 2px; overflow: hidden; cursor: pointer; transition: .2s linear } /*大卡片*/ .pavilion-container .tab-content .col-sm-3 .tab-card.tab-card-lg { position: relative; height: 420px } .pavilion-container .tab-content .col-sm-3 .tab-card:before { position: absolute; content: ''; top: 0; left: 0; right: 0; height: 4px; border-radius: 1px 1px 0 0 } .pavilion-container .tab-content .col-sm-3 .tab-card.tab-card-lg img { height: 90px; width: auto; display: block } .pavilion-container .tab-content .col-sm-3 .tab-card.tab-card-lg h3 { margin-top: 30px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden } .pavilion-container .tab-content .col-sm-3 .tab-card p { margin-top: 5px; font-size: 12px; color: #a0a2a8; letter-spacing: .51px; line-height: 20px; height: 20px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden } .pavilion-container .tab-content .col-sm-3 .tab-card.tab-card-lg .labels { margin-top: 10px; margin-right: 10px; padding-bottom: 20px } .pavilion-container .tab-content .col-sm-3 .tab-card.tab-card-lg .labels span { display: inline-block; margin-top: 10px; margin-right: 10px; padding: 0 5px; background: rgba(160,162,168,.1); border: 1px solid rgba(102,106,117,.1); border-radius: 2px; line-height: 20px; color: #a0a2a8; font-size: 12px } .pavilion-container .tab-content .col-sm-3 .tab-card-lg .time { border-top: 1px solid #e7e7e7 } /*中卡片*/ .pavilion-container .tab-content .col-sm-3 .tab-card.tab-card-md+.tab-card-md { margin-top: 20px } .pavilion-container .tab-content .col-sm-3 .tab-card.tab-card-md { height: 200px } .pavilion-container .tab-content .col-sm-3 .tab-card.tab-card-md img { height: 65px; width: auto; display: block } .pavilion-container .tab-content .col-sm-3 .tab-card.tab-card-md h3 { margin-top: 15px } .pavilion-container .tab-content .col-sm-3 .tab-card .time { position: absolute; bottom: 10px; width: calc(100% - 40px); padding-top: 17px; font-size: 12px; color: #666a75; letter-spacing: .44px; line-height: 23px; text-align: left } .pavilion-container .tab-content .col-sm-3 .tab-card .time span { font-size: 20px; color: #f66f6a; letter-spacing: 0; line-height: 23px; margin-right: 3px } /*小卡片*/ .pavilion-container .tab-content .col-sm-3 .tab-card.tab-card-sm { height: 90px } .pavilion-container .tab-content .col-sm-3 .tab-card.tab-card-sm+.tab-card-sm { margin-top: 20px } .pavilion-container .tab-content .col-sm-3 .tab-card.tab-card-sm .time { border-top-width: 0 } .pavilion-container .tab-content .col-sm-3 .tab-card:hover { background: #efedd4 } /*查看全部*/ .pavilion-container .view-go { margin-top: 35px; font-size: 18px; color: #fff; text-align: center } .pavilion-container .view-go a span.arrow-more { display: inline-block; vertical-align: middle } .pavilion-container .view-go a span.arrow-f { width: 13px; height: 13px; background: url(//repo.bfw.wiki/bfwrepo/icon/5df879d2377c4.png); display: inline-block; vertical-align: middle; margin-left: 10px; background-size: cover; position: relative; transition: .3s ease-out } .pavilion-container .view-go a:hover { color: #c9a467 } .pavilion-container .view-go a:hover span.arrow-f { ! margin-left: 20px; !transform: translate(4px,0); !background: url(//repo.bfw.wiki/bfwrepo/icon/5df879d2377c4.png) } </style> </head> <body> <div class="pavilion-container"> <div class="layer-title"> 主机馆 </div> <div class="pavilion-inner"> <ul class="tabs overflow-hide"> <li class="hot-use on"> <span class="hot-icon on"></span><span>热门应用</span></li> <li> <a href="#">企业上云</a> </li> <li>智能制造</li> <li>智慧城市</li> <li> <a href="#">视频</a> </li> <li>安全</li> <li> <a href="#">服务</a> </li> <li>API</li> <li>物联网</li> <li>开发者生态</li> </ul> <div class="tab-content-wrap"> <div class="tab-content overflow-hide show"> <div class="col-sm-3"> <div class="tab-card tab-card-lg"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/icon/5d834e6d3b5e0.png" width="65"> <h3>泰克双创实践云平台</h3> <p> 基于云主机建设的多功能教育实训平台 </p> <div class="labels"> <a href="#"><span>教育</span></a> <a href="#"><span>智慧城市</span></a> </div> <div class="time"> <span>¥1550000</span>/年 </div> </a> </div> </div> <div class="col-sm-3"> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/icon/5df872bcc4a3b.png" width="65"> <h3>解放云盘</h3> <p> 服务于企业的文件存储、管理与协作云平台 </p> <div class="time"> <span>¥1155</span>/年 </div> </a> </div> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>虚拟化下一代防火墙</h3> <p> 为公有云VPC租户提供安全防护 </p> <div class="time"> <span>¥1600</span>/年 </div> </a> </div> </div> <div class="col-sm-3"> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>智迅云客服</h3> <p> 新一代的云客服解决方案 </p> <div class="time"> <span>¥180</span>/月 </div> </a> </div> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>玖欣工业云平台</h3> <p> 助力企业快速部署工业互联网平台 </p> <div class="time"> <span>¥150100</span>/年 </div> </a> </div> </div> <div class="col-sm-3"> <div class="tab-card tab-card-sm"> <a href="#"> <h3>中标文通文档管理系统V3.0</h3> <div class="time"> <span>¥160</span>/月 </div> </a> </div> <div class="tab-card tab-card-sm"> <a href="#"> <h3>云评估-中软国际版</h3> <div class="time"> <span>¥6000</span>/次 </div> </a> </div> <div class="tab-card tab-card-sm"> <a href="#"> <h3>视频云服务套餐</h3> <div class="time"> <span>¥3600</span>/年 </div> </a> </div> <div class="tab-card tab-card-sm"> <a href="#"> <h3>智慧教育大数据云平台</h3> <div class="time"> <span>¥4500000</span>/年 </div> </a> </div> </div> </div> <div class="tab-content overflow-hide"> <div class="col-sm-3"> <div class="tab-card tab-card-lg"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>金华威云视频会议</h3> <p> 高品质的面对面视讯沟通云服务 </p> <div class="labels"> <a href="#"><span>教育</span></a> <a href="#"><span>协同办公</span></a> <a href="#"><span>视频应用</span></a> <a href="#"><span>咨询与培训</span></a> <a href="#"><span>电商</span></a> <a href="#"><span>严选自营</span></a> <a href="#"><span>云通信</span></a> <a href="#"><span>企业服务</span></a> </div> <div class="time"> <span>¥800</span>/年 </div> </a> </div> </div> <div class="col-sm-3"> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>解放云盘</h3> <p> 企业文件存储管理与协作云平台 </p> <div class="time"> <span>¥1155</span>/年 </div> </a> </div> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>AnyShare Cloud企业云盘服务</h3> <p> 统一管理、高效便捷的统一存储平台 </p> <div class="time"> <span>¥1280</span>/月 </div> </a> </div> </div> <div class="col-sm-3"> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>智迅云客服</h3> <p> 新一代的云客服解决方案 </p> <div class="time"> <span>¥180</span>/月 </div> </a> </div> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>汉得SRM</h3> <p> 为企业打造智能敏捷高效合规的供应体系 </p> <div class="time"> <span>¥3600</span>/月 </div> </a> </div> </div> <div class="col-sm-3"> <div class="tab-card tab-card-sm"> <a href="#"> <h3>U8 cloud</h3> <div class="time"> <span>¥13500</span>/年 </div> </a> </div> <div class="tab-card tab-card-sm"> <a href="#"> <h3>心通达OA</h3> <div class="time"> <span>免费</span> </div> </a> </div> <div class="tab-card tab-card-sm"> <a href="#"> <h3>迅响响应式模板网站</h3> <div class="time"> <span>¥1</span>/月 </div> </a> </div> <div class="tab-card tab-card-sm"> <a href="#"> <h3>迅响响应式定制建站</h3> <div class="time"> <span>¥800</span>/年 </div> </a> </div> </div> </div> <div class="tab-content overflow-hide"> <div class="col-sm-3"> <div class="tab-card tab-card-lg"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>协同设计云套餐</h3> <p> 提供云化CAD以及数据管理平台 </p> <div class="labels"> <a href="#"><span>智能制造</span></a> <a href="#"><span>模组开发</span></a> <a href="#"><span>云设计</span></a> <a href="#"><span>工业互联网</span></a> </div> <div class="time"> <span>¥49650</span>/年 </div> </a> </div> </div> <div class="col-sm-3"> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>工业云仿真定制包</h3> <p> 集网盘盘和高性能计算调度与一体 </p> <div class="time"> <span>¥66300</span>/年 </div> </a> </div> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>MixIOT工业互联网平台</h3> <p> 融合数据采集、存储、处理、分析与应用 </p> <div class="time"> <span>¥10000</span>/次 </div> </a> </div> </div> <div class="col-sm-3"> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>玖欣工业云平台</h3> <p> 助力企业快速部署工业互联网平台 </p> <div class="time"> <span>¥150100</span>/年 </div> </a> </div> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>智能装备云定制包</h3> <p> 让装备轻松上云,为装备制造业提供专业智能服务的解决方案。 </p> <div class="time"> <span>¥26960</span>/年 </div> </a> </div> </div> <div class="col-sm-3"> <div class="tab-card tab-card-sm"> <a href="#"> <h3>离散型生产管理系统</h3> <div class="time"> <span>¥200000</span>/次 </div> </a> </div> <div class="tab-card tab-card-sm"> <a href="#"> <h3>車马帅TMS运输管理系统</h3> <div class="time"> <span>¥5600</span>/年 </div> </a> </div> <div class="tab-card tab-card-sm"> <a href="#"> <h3>thingcom物联网技术平台</h3> <div class="time"> <span>¥2000000</span>/次 </div> </a> </div> <div class="tab-card tab-card-sm"> <a href="#"> <h3>极动云物联网云平台</h3> <div class="time"> <span>¥90000</span>/次 </div> </a> </div> </div> </div> <div class="tab-content overflow-hide"> <div class="col-sm-3"> <div class="tab-card tab-card-lg"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>泰克双创实践云平台</h3> <p> 基于云主机建设的多功能教育实训平台 </p> <div class="labels"> <a href="#"><span>教育</span></a> <a href="#"><span>智慧城市</span></a> </div> <div class="time"> <span>¥1550000</span>/年 </div> </a> </div> </div> <div class="col-sm-3"> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>智慧教育大数据云平台</h3> <p> 构建个性化、精准化、多样化教育大数据云平台 </p> <div class="time"> <span>¥4500000</span>/年 </div> </a> </div> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>网格化监测服务</h3> <p> 提供污染数据采集、分析、审核等服务 </p> <div class="time"> <span>¥1500000</span>/年 </div> </a> </div> </div> <div class="col-sm-3"> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>全域旅游云</h3> <p> 针对全域旅游建设的智慧管理的整体服务 </p> <div class="time"> <span>¥220000</span>/年 </div> </a> </div> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>擎天数字生态城市</h3> <p> 全方位辅助企业实现碳资产的自我管理 </p> <div class="time"> <span>¥2500000</span>/次 </div> </a> </div> </div> <div class="col-sm-3"> <div class="tab-card tab-card-sm"> <a href="#"> <h3>扬尘视频监控服务</h3> <div class="time"> <span>¥3000000</span>/年 </div> </a> </div> <div class="tab-card tab-card-sm"> <a href="#"> <h3>预测预警分析模型服务</h3> <div class="time"> <span>¥1000000</span>/年 </div> </a> </div> <div class="tab-card tab-card-sm"> <a href="#"> <h3>中小学智慧校园解决方案</h3> <div class="time"> <span>¥1000000</span>/年 </div> </a> </div> <div class="tab-card tab-card-sm"> <a href="#"> <h3>智慧景区管理服务系统</h3> <div class="time"> <span>¥480000</span>/年 </div> </a> </div> </div> </div> <div class="tab-content overflow-hide"> <div class="col-sm-3"> <div class="tab-card tab-card-lg"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>视频云服务套餐</h3> <p> 快速开启广播级视频云服务 </p> <div class="labels"> <a href="#"><span>视频应用</span></a> <a href="#"><span>媒体视频 </span></a> <a href="#"><span>视频直播</span></a> <a href="#"><span>视频点播</span></a> <a href="#"><span>视频转码</span></a> <a href="#"><span>视频云</span></a> </div> <div class="time"> <span>¥3600</span>/年 </div> </a> </div> </div> <div class="col-sm-3"> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>媒体云媒体客户端产品</h3> <p> 提供完整的新闻客户端解决方案 </p> <div class="time"> <span>¥100000</span>/次 </div> </a> </div> <div class="tab-card tab-card-md"> <a href="#"> <img src="//repo.bfw.wiki/bfwrepo/image/60e1ae4a205fc.png" width="65"> <h3>媒体云SAAS版</h3> <p> 提供领先的、可运营的媒体云服务 </p> <div class="time"> <span>¥200000</span>/年 .........完整代码请登录后点击上方下载按钮下载查看
网友评论0