当前位置:网站首页>Xiaobai programmer's fifth day
Xiaobai programmer's fifth day
2022-07-25 22:20:00 【Too difficult L】
Web news interface establishment
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Entertainment News </title>
<style>
body{
background-color:silver;
}
/* Remove underscores */
a{
text-decoration: none;
}
.news-wrapper{
/* Set width */
width: 350px;
/* Set height */
height: 357px;
/* Set the background color */
background-color:#fff;
/* Set the top border */
border-top: 1px #ddd solid;
margin: 50px auto;
}
.news-title{
/* Turn inline elements into inline blocks , To make the border as wide as the text */
display: inline-block;
/* Set the top border */
border-top: 1px red solid;
/* Set the top border to move up , Cover the gray border */
margin-top: -1px;
/* Set height */
height: 40px;
/* Text centered vertically */
line-height: 40px;
}
/* Set up title The style of hyperlinks in */
.news-title a{
/* Set text size */
font-size: 16px;
/* Set the text color */
color: #40406B;
/* The words are bold */
font-weight: bold;
}
.news-title a:hover{
color: red;
}
/* Set the height of the picture container */
.news-img{
height: 100px;
}
.news-img .img-title{
/* Move text up */
margin-top: -30px;
/* Shift text right */
margin-left: 25px;
/* Set font color */
color:whitesmoke;
/* Set font bold */
font-weight: bold;
}
.news-list{
margin-top: 20px;
}
/* Set up li*/
.news-list li{
margin-bottom: 20px;
}
/* Set up li Text styles in */
.news-list li a{
/* Set font size 、 Color */
font-size: 14px;
color: gray;
}
/* Set the mouse hyperlink move in state */
.news-list li a:hover{
color: red;
}
.news-list li::before{
/* Add bullet */
content: "■";
/* Set the color size margin */
color: rgb(218,218,218);
font-size: 12px;
margin-right: 4px;
}
</style>
</head>
<body>
<div class="news-wrapper">
<!-- Create Title labels -->
<h2 class="news-title"><a href="#"> entertainment </a></h2>
<!-- Create a picture container -->
<div class="news-img">
<a href="#">
<img src="2.PNG" alt="">
<h3 class="img-title"> <span>#</span> </h3>
</a>
</div>
<!-- News list -->
<ul class="news-list">
<li><a href="#"> Huang Zongze restaurant announced its closure Loss of more than one million </a></li>
<li><a href="#"> Zhang Kaili : Actors should not be eager for quick success , Have real talent </a></li>
<li><a href="#"> The net revealed that Yang Yang's wax statue was harassed by a young woman </a></li>
<li><a href="#"> Ding Taisheng roast that Guo Jingming plagiarized Vulgar words are scolded </a></li>
</ul>
</div>
</body>
</html>

边栏推荐
- [Fantan] how to design a test platform?
- Don't know mock test yet? An article to familiarize you with mock
- 面了个腾讯三年经验的测试员,让我见识到了真正的测试天花板
- Redis基础2(笔记)
- 6-18 vulnerability exploitation - backdoor connection
- Whether the five distribution methods will produce internal fragments and external fragments
- Method of converting MAPGIS format to ArcGIS
- D3.js 学习
- The dragon lizard exhibition area plays a new trick this time. Let's see whose DNA moved?
- 3day
猜你喜欢

JMeter websocket interface test

Interpretation of the source code of all logging systems in XXL job (line by line source code interpretation)

xxl-job中 关于所有日志系统的源码的解读(一行一行源码解读)

完啦,上班三个月,变秃了

成为比开发硬气的测试人,我都经历了什么?

Xiaobai programmer's fourth day

How to implement an app application to limit users' time use?

突破性思维在测试工作中的应用

Jenkins+svn configuration

核电站在席卷欧洲的热浪中努力保持安全工作
随机推荐
力矩电机控制基本原理
Which is reliable between qiniu business school and WeiMiao business school? Is it safe to open an account recommended by the teacher?
『Skywalking』. Net core fast access distributed link tracking platform
Mitsubishi FX PLC free port RS command realizes Modbus Communication
还不懂mock测试?一篇文章带你熟悉mock
Summary of function test points of wechat sending circle of friends on mobile terminal
4day
3. Editors (vim)
JMeter websocket interface test
The technical aspects of ByteDance are all over, but the result is still brushed. Ask HR why...
开户就可以购买收益在百分之六以上的理财产品了吗
[fan Tan] in detail: lower control, upward management, upward drawing cake.
Win10 set up a flutter environment to step on the pit diary
[assembly language 01] basic knowledge
vim用法记录
Redis memory elimination mechanism?
Recursive case -c
什么是分区分桶?
Redis foundation 2 (notes)
After 2 years of functional testing, I feel like I can't do anything. Where should I go in 2022?