pc端-轮播图 和 二级菜单

本篇目录轮播图加二级菜单轮播图加二级菜单 <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <style> *{ margin: 0; padding: ...
摘要由CSDN通过智能技术生成

轮播图 + 二级菜单

	<!DOCTYPE html>
	<html>
	<head lang="en">
	    <meta charset="UTF-8">
	    <title></title>
		<style>
			*{
   
				margin: 0;
				padding: 0;
			}
			ul{
   
				list-style: none;
			}
			a:link,a:visited{
   
				text-decoration: none;
				color: #333;
			}
			body{
   
				font-family: "微软雅黑";
				color: #14191e;
			}
			.main{
   
				position: relative;
				width: 1200px;
				height: 460px;
				margin: 30px auto;
				overflow: hidden;
			}
			.banner{
   
				position: relative;
				width: 1200px;
				height: 460px;
				overflow: hidden;
			}
			.banner-slide{
   
				display: none;
				position: absolute;
				width: 1200px;
				height: 460px;
				background-repeat: no-repeat;
			}
			.slide1{
   
				background-image:url("./img/bg1.jpg");
			}
			.slide2{
   
				background-image:url("./img/bg2.jpg");
			}
			.slide3{
   
				background-image:url("./img/bg3.jpg");
			}
			.slide-active{
   
				display: block;
			}
			.button{
   
				position: absolute;
				top: 50%;
				left: 244px;
				margin-top: -40px;
				width: 40px;
				height: 80px;
				background: url(./img/arrow.png) no-repeat center center;
			}
			.next{
   
				left: auto;
				right: 0;
			}
			.button:hover{
   
				background-color: #333;
				opacity: 0.8;
				filter:alpha(opacity=80);
			}
			.prev{
   
				transform: rotate(180deg);
			}
			.dots{
   
				position: absolute;
				right: 20px;
				bottom: 24px;
				text-align: right;
			}
			.dots span{
   
				display: inline-block;
				width: 12px;
				height: 12px;
				line-height: 12px;
				margin-left: 8px;
				border-radius: 50%;
				background: rgba(7,17,27,0.4);
				box-shadow: 0 0 0 2px rgba(255,255,255,0.8) inset;
				cursor: pointer;
			}
			.dots span.active{
   
				box-shadow: 0 0 0 2px rgba(7,17,27,0.4) inset;
				background: #fff;
			}
			/*菜单*/
			.menu-box{
   
				z-index: 1;
				position: absolute;
				top: 0;
				left: 0;
				width: 244px;
				height: 460px;
				background: rgba(7,17,27,0.5);
				opacity: 0.5;
			}
			.menu-content{
   
				z-index: 2;
				position: absolute;
				top: 0;
				left: 0;
				width: 244px;
				height: 454px;
				padding-top: 6px;
			}
			.menu-item{
   
				position: relative;
				height: 64px;
				line-height: 66px;
				padding: 0 24px;
				font-size: 16px;
			}
			.menu-item a:link, .menu-item a:visited{
   
				color: #fff;
			}
			.menu-item a{
   
				display: block;
				height: 63px;
				padding: 0 8px;
				border-bottom: 1px solid rgba(255,255,255,0.2);
			}
			.menu-item i{
   
				position: absolute;
				top: 2px;
				right: 32px;
				color: rgba(255,255,255,0.5);
				font-size: 24px;
				font-style: normal;
				font-weight: normal;
			}
			.sub-menu{
   
				z-index: 3;
				position: absolute;
				top: 0;
				left: 244px;
				width: 730px;
				height: 458px;
				border:1px solid #d9dde1;
				background: #fff;
				box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1);
			}
			.inner-box{
   
				width: 100%;
				height: 100%;
				background: url(./img/fe.png) no-repeat center center;
				display: none;
			}
			.sub-inner-box{
   
				width: 652px;
				margin-left: 40px;
				overflow: hidden;
			}
			.title{
   
				line-height:16px;
				margin:28px 0 30px 0; 
				color: #f01414;
				font-size: 16px;
				font-weight: bold;
			}
			.sub-row{
   
				margin-bottom: 25px;
			}
			.bold{
   
				font-weight: bold;
			}
			.mr10{
   
				margin-right: 10px;
			}
			.ml10{
   
				margin-left: 10px;
			<
  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值