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

边栏推荐
- gsap的简单用法
- 【LeetCode】12、整数转罗马数字
- IP datagram sending and forwarding process
- Realizing color detection with OpenCV
- C语言中函数是什么?编程中的函数与数学中的函数区别?理解编程语言中的函数
- Wireless sensor network learning notes (I)
- BioVendor sRAGE Elisa试剂盒化学性质和技术研究
- Wedding studio portal applet based on wechat applet
- Excel将一行的内容进行复制时,列与列之间是用制表符“\t”进行分隔的
- Quartus replication IP core
猜你喜欢

WordPress zibll sub theme 6.4.1 happy version is free of authorization

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

如何做好水库大坝安全监测工作

codeforces每日5题(均1700)

How high is the gold content of grade II cost engineer certificate? Just look at this

Wedding studio portal applet based on wechat applet

2022 new version NFT source code source code of China meta universe digital collection art trading platform
![[Verilog quick start of Niuke online question brushing series] ~ one out of four multiplexer](/img/1f/becda82f3136678c58dd8ed7bec8fe.png)
[Verilog quick start of Niuke online question brushing series] ~ one out of four multiplexer
![[JVM] - Division de la mémoire en JVM](/img/d8/29a5dc0ff61e35d73f48effb858770.png)
[JVM] - Division de la mémoire en JVM

Sharing | intelligent environmental protection - ecological civilization informatization solution (PDF attached)
随机推荐
Hundreds of lines of code to implement a script interpreter
如何学习可编程逻辑控制器(PLC)?
PCR/qPCR研究:Lumiprobe丨dsGreen 用于实时 PCR
How to design an awesome high concurrency architecture from scratch (recommended Collection)
Dart learning - functions, classes
Amino dye research: lumiprobe fam amine, 6-isomer
活性染料研究:Lumiprobe AF594 NHS 酯,5-异构体
[JVM] - Division de la mémoire en JVM
乔布斯在斯坦福大学的演讲稿——Follow your heart
Understanding the source of innovation II
基于订单流工具,我们能看到什么?
How high is the gold content of grade II cost engineer certificate? Just look at this
高通平台 Camera 之 MCLK 配置
!‘ Cat 'is not an internal or external command, nor is it a runnable program or batch file.
电源插座是如何传输电的?困扰小伙伴这么多年的简单问题
JS text box loses focus to modify width text and symbols
Rxswift -- (1) create a project
Deeplearning ai-week1-quiz
Based on the order flow tool, what can we see?
BioVendor sRAGE蛋白解决方案