当前位置:网站首页>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;
}
边栏推荐
- Illustration of JS implementation from insertion sort to binary insertion sort [with source code]
- Count the time-consuming duration of an operation (function)
- QT script document translation (I)
- Flat design, blog website (VIII) code source code
- A promise with bare hands
- Communication between different VLANs
- Oracle提示无效数字
- Who is stronger, zip or 7-Zip, and how to choose?
- About the designer of qtcreator the solution to the problem that qtdesigner can't pull and hold controls normally
- 100. 相同的树
猜你喜欢

socket. IO cross domain stepping pit

Use of qscriptengine class

【Matlab WSN通信】A_Star改进LEACH多跳传输协议【含源码 487期】

你知道IT人才外派服务报价是怎样的么?建议程序员也了解下

UEFI finding PCI devices

Redux learning (I) -- the process of using Redux

Sentinel annotation support - @sentinelresource usage details

ESP32学习笔记(49)——ESP-WIFI-MESH接口使用

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

CCS安装编译器的方法
随机推荐
Dynamic import
100. 相同的树
Fix the problem that the right mouse button does not have a vscode shortcut
Handwritten promise [01] - Implementation of promise class core logic
NPM upgrade: unable to load file c:\users\administrator\appdata\roaming\npm\npm-upgrade ps1
The realization of online Fox game server room configuration battle engagement customization function
About the principle and code implementation of Siou (review IOU, giou, Diou, CIO)
Jenkins user rights management
Detailed explanation of mutual call between C language and Lua
Training and testing of super score model in mmediting
Handwriting promise [03] - realize multiple calls and chain calls of then method
[]==! []
572. subtree of another tree
Exchange two values without introducing the third variable
arguments......
Aircraft war from scratch (II) simple development
break,continue有什么区别和用法?
563. 二叉树的坡度
Warning: Each child in a list should have a unique “key“ prop.
JVM from getting started to abandoning 1: memory model