当前位置:网站首页>News web page display
News web page display
2022-06-11 06:47:00 【Dare you look at the avatar for three seconds?】

Not finished yet , For the time being, it has been made like this
Code :
html:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title> Magazines </title>
<link rel="stylesheet" type="text/css" href="css/mian.css" />
<link rel="stylesheet" type="text/css" href="css/common.css" />
</head>
<body>
<div id="wrapper">
<div id="header">
<div class="toper1">
<div class="toper1l">
<img src="img/zzs_04.jpg"> |
<img src="img/zzs_06.jpg"> |
<img src="img/zzs_08.jpg"> |
<img src="img/zzs_10.jpg"> |
<img src="img/zzs_12.jpg"> |
</div>
<div class="toper1r">
<a href="img/zzs_62.jpg">FAQ </a>
<a href="img/zzs_81.jpg">Contact Us </a>
<a href="img/zzs_58.jpg">About</a>
<img src="img/zzs_14.jpg">
</div>
</div>
<div class="toper2">
<div class="toper2l">
<img src="img/zzs_25.jpg">
</div>
<div class="toper2r">
<img src="img/zzs_23.jpg">
</div>
</div>
<div class="toper3">
<a href="img/zzs_29.jpg"><img src="img/zzs_29.jpg"></a><a href="img/zzs_29.jpg">FEATURES <img src="img/zzs_32.jpg"></a><a href="img/zzs_29.jpg">TECNOLOGY</a><a href="img/zzs_29.jpg">BUSINESS</a><a href="img/zzs_29.jpg">TRAVEL</a><a href="img/zzs_29.jpg">BEAUTY</a><a href="img/zzs_29.jpg">REVIEWS</a>
</div>
</div>
<div id="bodyer">
<div class="lb">
<div class="stage">
<img src="img/zzs_37.jpg">
<img src="img/zzs_38.jpg">
<img src="img/zzs_39.jpg">
</div>
</div>
<div class="lb2">
<marquee behavior="" direction="right"> Enjoy the wonders of the world , On current affairs and news , Hear about the political situation </marquee>
</div>
<div class="main">
<div class="section">
<div class="content">NEWS</div>
<div class="stage1">
<img src="img/zzs_37.jpg">
<img src="img/zzs_38.jpg">
<img src="img/zzs_39.jpg">
</div>
<div class="content">LATEST NEWS</div>
<div class="stage2">
<img src="img/zzs_37.jpg">
<img src="img/zzs_38.jpg">
<img src="img/zzs_39.jpg">
</div>
</div>
<div class="aside">
adsfadsfadfa
</div>
</div>
</div>
<div id="footer"></div>
</div>
</body>
</html>
css
body{
background-image: url(../img/islemag-background.jpg);
}
.red{
color: #FF0000;}
.blue{
color: skyblue;}
.black{
color: black;}
#wrapper{
margin: 20px auto;
/* Up and down spacing 20 Left and right automatic */
width: 1000px;
border: 1px solid red;
background-color: white;
}
#bodyer{
clear: left;
max-width: 1000px;
/* display: -webkit-box; display: -moz-box; */
/* -moz-box-flex: 1; -webkit-box-flex: 1; */
}
#wrapper>#header>.toper1>.toper1r{
float: right;
margin: 10px;
}
#wrapper>#header>.toper1>.toper1r>a{
color: dimgrey;
text-decoration: none;
margin-right: 10px;
}
#wrapper>#header>.toper1>.toper1l{
float: left;
margin: 10px;
}
#wrapper>#header>.toper1>.toper1l>img{
margin-right: 6px;
}
#wrapper>#header>.toper1{
background-color: lightgray;
}
#wrapper>#header>.toper2{
clear: left;
display: inline-block;
}
#wrapper>#header>.toper2>.toper2l{
display: inline-block;
margin-left: 20px;
}
#wrapper>#header>.toper2>.toper2r{
display: inline-block;
margin-left: 80px;
}
#wrapper>#header>.toper3>a{
/* margin-right: 10px; */
font-weight: bold;
padding-top: 10px;
padding-bottom: 10px;
border-top: 3px solid skyblue;
border-right: 1px solid #D3D3D3;
padding-right: 10px;
padding-left: 10px;
}
#wrapper>#header>.toper3{
/* margin-left: 100px; */
margin-top: 5px;
height: 40px;
}
#wrapper>#header>.toper3>a:hover{
background-color: #D3D3D3;
transition-duration: 2s;
}
#wrapper>#bodyer>.lb{
display: inline-block;
overflow: hidden;
width: 820px;
height: 400px;
margin:auto;
position: relative;
margin: 20px;
}
#wrapper>#bodyer>.lb>.stage{
height: 400px;
width: 1220px;
position: absolute;
animation: stage 17s ease-in-out 0s infinite normal;
display: inline-block;
}
#wrapper>#bodyer>.lb>.stage img{
/* display: inline-block; */
}
@keyframes stage{
0%{
transform: scaleX(1);
}
50%{
transform: scaleX(1) translate(-400px);
}
50.001%{
transform: scaleX(1) translate(-400px);
}
100%{
transform: scaleX(1);
}
}
@keyframes stage1{
0%{
transform: scaleX(1);
}
50%{
transform: scaleX(1) ;
margin-left: 200px;
}
50.001%{
transform: scaleX(1);
}
100%{
transform: scaleX(1);
}
}
#wrapper>#bodyer>.main{
display: -webkit-box;
display: -moz-box;
}
#wrapper>#bodyer>.main>.section{
/* display: -webkit-box; display: -moz-box; -moz-box-flex: 5; -webkit-box-flex: 5; */
width: 740px;
border: 1px solid yellow;
}
#wrapper>#bodyer>.main>.aside{
/* display: -webkit-box; display: -moz-box; -moz-box-flex: 2; -webkit-box-flex: 2; */
width: 250px;
border: 1px solid red;
}
#wrapper>#bodyer>.main>.section>.content{
/* width: 750px; */
/* height: 30px; */
border-bottom: 2px solid #696969;
/* float: left; */
/* margin: auto; */
padding: 0 20px;
margin: 10px 20px;
}
#wrapper>#bodyer>.main>.section>.stage1{
/* clear: left; */
}
#wrapper>#bodyer>.main>.section>.stage1 img{
width: 200px;
margin: 10px 20px;
}
#wrapper>#bodyer>.main>.section .stage2 img{
width: 140px;
margin: 10px 20px;
}
边栏推荐
猜你喜欢

563. 二叉树的坡度

About the principle and code implementation of Siou (review IOU, giou, Diou, CIO)

Flutter Container组件

Moment time plug-in tips -js (super detailed)
![Handwritten promise [05] - exception capture of promise method and optional parameters of then method implementation](/img/e7/87069f921ae003511e32b23653703c.jpg)
Handwritten promise [05] - exception capture of promise method and optional parameters of then method implementation

VTK-vtkPlane和vtkCutter使用

Won't virtual DOM be available in 2022? Introduction to virtual Dom and complete implementation of diff and patch

Starting from scratch (IV) enemy aircraft flying out of the border disappear automatically

JVM from getting started to abandoning 1: memory model

On cursor in MySQL
随机推荐
Handwriting promise [03] - realize multiple calls and chain calls of then method
021-MongoDB数据库从入门到放弃
Open source cartoon server mango
关于组织开展2022年宁波市重点首版次软件申报工作的通知
洛谷P1091合唱队形(最长上升子序列)
Jenkins user rights management
Oracle prompt invalid number
UEFI finding PCI devices
Won't virtual DOM be available in 2022? Introduction to virtual Dom and complete implementation of diff and patch
Pytest自动化测试-简易入门教程(01)
Multimedia框架解析之MediaExtractor源码分析(一)
SQL语言-查询语句
Vulhub 8.1-backdoor vulnerability recurrence
核查医药代表备案信息是否正确
Teach everyone how to implement an electronic signature
Scripy web crawler series tutorials (I) | construction of scripy crawler framework development environment
About the designer of qtcreator the solution to the problem that qtdesigner can't pull and hold controls normally
100. 相同的树
开源漫画服务器Mango
Lazy load