当前位置:网站首页>阴阳师页面
阴阳师页面
2022-06-28 05:21:00 【辕小白】
body部分
<div class="header">
<div class="news">
<div class="inner">
<div class="download-wrap">
<div class="download">
<ul>
<li class="code">
<img class="er" src="../images/erweima.png" alt="">
<img class="line" src="../images/line.png">
</li>
<li class="but">
<a href="#" title="下载桌面版"></a><!--a标签是一个内联元素标签,不支持宽高和大小,给一个转换-->
</li>
</ul>
</div>
</div>
<div class="news-desc">
<div class="tab">新闻资讯<i></i></div>
<div class="content">
<ul>
<li>
<img src="../images/01(1).png" alt="">
</li>
<li>
<img src="../images/02(1).jpg" alt="">
</li>
<li>
<img src="../images/03(1).jpg" alt="">
</li>
<li>
<img src="../images/04(1).jpg" alt="">
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
css部分
/*样式表书写地址*/
body,ul{/*多元素选择器,中间逗号隔开*/
margin:0;/*外边距:0;*/
padding:0;/*内边距*/
}
ul{list-style:none;}/*清除ul前面的标识小黑圆点*/
.header{/*选择class类名: . + 类名{ 样式表 }*/
position:relative;/*定位:相对定位*/
width:100%;/*宽度:100%;(继承父级的宽度)*/
height:844px;/*高度*/
background-image:url("../images/banner_a6225ba.jpg");/*背景图片:图片路径;*/
background-repeat:no-repeat;/*背景平铺:不平铺;*/
}
.news{
position:absolute;/*定位:绝对定位;*/
width:100%;
height:287px;
bottom:0;/*位置变化关键词:下边*/
/*background-image:url("images/bot_head_bg_450ba6b.png");
background-repeat:repeat-x;/*x轴方向是平铺*/
/*background-position:0 bottom;*/
background:url("../images/bot_head_bg_450ba6b.png") repeat-x 0 bottom;
}
.news .inner{
width:1180px;
height:100%;
margin:0 auto;/*auto自适应左右居中*/
}
.news .download-wrap{
float:left;
width:145px;
height:240px;
padding-top:47px;/*上内边距*/
background-image:url("../images/index_z_71df05e.png");
background-repeat:no-repeat;/*背景平铺:不平铺;*/
}
.news .download{
width:107px;
height:224px;
margin:auto;
}
.news .download ul li{
position:relative;
width:100%;
height:107px;
}
.code .er{
width:100%;
height:100%;
}
.code .line{
position:absolute;
top:0;/*上*/
left:-7px;/*左*/
animation:run 4s linear infinite;/*动画属性:动画名称 动画执行时间 速度 执行次数*/
}
@keyframes run{/*设置动画帧 , 这个run是随便取的动画名字*/
0%{top:0;}
50%{top:96px;}
100%{top:0;}/*时间轴,从0%-100%*/
}
.news .download .but a{
display:block;/*元素类型转换:块*/
width:100%;
height:107px;
margin-top:10px;
background-image:url("../images/zmb_bg_b51e4c7.jpg");
}
.news-desc{
float:right;/*浮动:有浮动*/
width:1021px;
height:100%;
}
.news-desc .tab{
width:162px;
height:43px;
background-color:rgba(0,0,0,.8);/*rgba:red green blue opacity(透明度)*/
text-align:center;/*文字居中*/
line-height:34px;/*字体和字体之间上下的高度*/
letter-spacing:3px;/*字与字之间的距离*/
color:#c2a060;
}
.news-desc .tab i{
display:block;/*元素类型转换:块*/
width:83px;
height:4px;
margin:auto;
background:url("../images/index_z_71df05e.png") no-repeat -806px -492px;
}
.content{
width:1021px;
height:210px;
padding-top:20px;
}
.content ul{
width:2000px;
height:100%;
}
.content ul li{
float:left;
margin-right:20px;
width:240px;
height:177px;
}

边栏推荐
- 2022 safety officer-b certificate examination question bank and answers
- !‘ Cat 'is not an internal or external command, nor is it a runnable program or batch file.
- 开关电源电压型与电流型控制
- 【JVM】——JVM中内存划分
- TypeScript接口
- Keil C51的Data Overlaying机制导致的函数重入问题
- Informatics Orsay all in one 1360: strange lift
- Redis 的 最新windows 版本 5.0.14
- The latest examination questions and answers for the eight members (standard members) of Liaoning architecture in 2022
- Sharing | intelligent environmental protection - ecological civilization informatization solution (PDF attached)
猜你喜欢

2022 low voltage electrician examination questions and answers

How to learn programmable logic controller (PLC)?

【Linux】——使用xshell在Linux上安装MySQL及实现Webapp的部署

JS 文本框失去焦点修改全半角文字和符号

JS text box loses focus to modify width text and symbols

The heading angle of sliceplane is the same as that of math Corresponding transformation relation of atan2 (y, x)

交流电和直流电的区别是什么?

【JVM】——JVM中內存劃分

2022 safety officer-b certificate examination question bank and answers

? How to write the position to output true
随机推荐
It is the latest weapon to cross the blockade. It is one of the fastest ladders.
MySQL 45讲 | 05 深入浅出索引(下)
Study on chemical properties and technology of biovendor rage ELISA Kit
二级造价工程师考试还没完?还有资格审核规定!
109. simple chat room 12: realize client-side one-to-one chat
Wedding studio portal applet based on wechat applet
!‘ Cat 'is not an internal or external command, nor is it a runnable program or batch file.
sqlmap工具使用手册
双向电平转换电路
How to design an awesome high concurrency architecture from scratch (recommended Collection)
Sorting out some topics of modern exchange principle MOOC
2022烟花爆竹经营单位安全管理人员特种作业证考试题库及模拟考试
BioVendor sRAGE抗体解决方案
2022 special operation certificate examination question bank and simulation examination for safety management personnel of fireworks and firecrackers business units
Can wechat applets import the data in the cloud development database into makers with one click in the map component
Hundreds of lines of code to implement a script interpreter
Prove that there are infinite primes / primes
The latest examination questions and answers for the eight members (standard members) of Liaoning architecture in 2022
Unity out ref params
Amino dye research: lumiprobe fam amine, 6-isomer