当前位置:网站首页>阴阳师页面
阴阳师页面
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;
}

边栏推荐
- msa. h: There is no such file or directory
- Store inventory management system source code
- Simulation questions and answers of the latest national fire-fighting facility operators (primary fire-fighting facility operators) in 2022
- PMP考试成绩多久出来?这些你务必知道!
- Leetcode 88: merge two ordered arrays
- SlicePlane的Heading角度与Math.atan2(y,x)的对应转换关系
- MySQL export query results to excel file
- 2022 new version NFT source code source code of China meta universe digital collection art trading platform
- 活性染料研究:Lumiprobe AF594 NHS 酯,5-异构体
- 乔布斯在斯坦福大学的演讲稿——Follow your heart
猜你喜欢

Quartus replication IP core

Redis 的 最新windows 版本 5.0.14
![[JVM] - Division de la mémoire en JVM](/img/d8/29a5dc0ff61e35d73f48effb858770.png)
[JVM] - Division de la mémoire en JVM

MySQL 45讲 | 05 深入浅出索引(下)

codeforces每日5题(均1700)

Amino dye research: lumiprobe fam amine, 6-isomer

JS text box loses focus to modify width text and symbols

Sqlmap tool user manual

A guide to P2P network penetration (stun) for metartc5.0 programming

How to learn programmable logic controller (PLC)?
随机推荐
Learning Tai Chi Maker - mqtt Chapter 2 (V) heartbeat mechanism
DPDK 源码测试时性能下降问题
Docker安装Mysql5.7并开启binlog
Realizing color detection with OpenCV
Deeplearning ai-week1-quiz
【JVM系列】JVM调优
CpG solid support research: lumiprobe general CpG type II
Sharing | intelligent environmental protection - ecological civilization informatization solution (PDF attached)
Question bank and answers of 2022 materialman general basic (materialman) operation certificate examination
How to do a good job of gateway high availability protection in the big promotion scenario
The heading angle of sliceplane is the same as that of math Corresponding transformation relation of atan2 (y, x)
羧酸研究:Lumiprobe 磺基花青7二羧酸
北斗三号短报文终端在大坝安全监测方案的应用
BioVendor sRAGE Elisa试剂盒化学性质和技术研究
Is it enough for the project manager to finish the PMP? no, it isn't!
codeforces每日5题(均1700)
Informatics Orsay all in one 1360: strange lift
Biovendor sRAGE antibody solution
It is the latest weapon to cross the blockade. It is one of the fastest ladders.
? How to write the position to output true