Java教程

页面

本文主要是介绍页面,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" type="text/css" href="css/t2.css"/>
</head>
<body>
<div class="content">
<div class="type">
专辑
<div class="type-con">
<dl>
<dt>分类</dt>
<dd>
<ul>
<li>原版</li>
<li>签名版</li>
<li>内地引进版</li>
<li>演唱会DVD/LIVE</li>
<li>限量版</li>
<li>贴纸/文件夹/笔记本</li>
</ul>
</dd>
</dl>
<dl>
<dt>公司</dt>
<dd>
<ul>
<li>MBK Entertainment</li>
<li>环球唱片</li>
<li>艺人工作室</li>
<li>英皇娱乐</li>
<li>Fantagio</li>
<li>乐华娱乐</li>
<li>Woolim</li>
<li>相信音乐</li>
<li>TS Entertainment</li>
<li>环球中国</li>
<li>华纳唱片</li>
<li>天娱传媒</li>
<li>LOEN Entertainment</li>
</ul>
</dd>
</dl>
</div>
</div>
<div class="list">
<ul>
<li><a href="">
<img src="img/img/pro/1.jpg" alt="">
<span class="title">宇宙少女 迷你五辑《WJPLEASE?》</span>
<div>
<span class="money">¥50</span>

<span class="love"></span>
<span class="num">79976556</span>
</div>
</a></li>
<li><a href="">
<img src="img/img/pro/2.jpg" alt="">
<span class="title">宇宙少女 迷你五辑《WJPLEASE?》</span>
<div>
<span class="money">¥50</span>
<span class="love"></span>
<span class="num">8993783</span>
</div>
</a></li>
<li><a href="">
<img src="img/img/pro/3.jpg" alt="">
<span class="title">宇宙少女 迷你五辑《WJPLEASE?》</span>
<div>
<span class="money">¥50</span>
<span class="love"></span>
<span class="num">6789543</span>
</div>
</a></li>
<li><a href="">
<img src="img/img/pro/4.jpg" alt="">
<span class="title">宇宙少女 迷你五辑《WJPLEASE?》</span>
<div>
<span class="money">¥50</span>
<span class="love"></span>
<span class="num">3974985</span>
</div>
</a></li>
<li><a href="">
<img src="img/img/pro/5.jpg" alt="">
<span class="title">宇宙少女 迷你五辑《WJPLEASE?》</span>
<div>
<span class="money">¥50</span>
<span class="love"></span>
<span class="num">435466767</span>
</div>
</a></li>
<li><a href="">
<img src="img/img/pro/6.jpg" alt="">
<span class="title">宇宙少女 迷你五辑《WJPLEASE?》</span>
<div>
<span class="money">¥50</span>
<span class="love"></span>
<span class="num">39393939</span>
</div>
</a></li>
<li><a href="">
<img src="img/img/pro/7.jpg" alt="">
<span class="title">宇宙少女 迷你五辑《WJPLEASE?》</span>
<div>
<span class="money">¥50</span>
<span class="love"></span>
<span class="num">3984588</span>
</div>
</a></li>
<li><a href="">
<img src="img/img/pro/8.jpg" alt="">
<span class="title">宇宙少女 迷你五辑《WJPLEASE?》</span>
<div>
<span class="money">¥50</span>
<span class="love"></span>
<span class="num">49383899</span>
</div>
</a></li>
<li><a href="">
<img src="img/img/pro/9.jpg" alt="">
<span class="title">宇宙少女 迷你五辑《WJPLEASE?》</span>
<div>
<span class="money">¥50</span>
<span class="love"></span>
<span class="num">839020938</span>
</div>
</a></li>
<li><a href="">
<img src="img/img/pro/1.jpg" alt="">
<span class="title">宇宙少女 迷你五辑《WJPLEASE?》</span>
<div>
<span class="money">¥50</span>
<span class="love"></span>
<span class="num">49383993</span>
</div>
</a></li>
<li><a href="">
<img src="img/img/pro/1.jpg" alt="">
<span class="title">宇宙少女 迷你五辑《WJPLEASE?》</span>
<div>
<span class="money">¥50</span>
<span class="love"></span>
<span class="num">5333495</span>
</div>
</a></li>
<li><a href="">
<img src="img/img/pro/2.jpg" alt="">
<span class="title">宇宙少女 迷你五辑《WJPLEASE?》</span>
<div>
<span class="money">¥50</span>
<span class="love"></span>
<span class="num">494994</span>
</div>
</a></li>
<li><a href="">
<img src="img/img/pro/3.jpg" alt="">
<span class="title">宇宙少女 迷你五辑《WJPLEASE?》</span>
<div>
<span class="money">¥50</span>
<span class="love"></span>
<span class="num">33454444</span>
</div>
</a></li>
<li><a href="">
<img src="img/img/pro/4.jpg" alt="">
<span class="title">宇宙少女 迷你五辑《WJPLEASE?》</span>
<div>
<span class="money">¥59</span>
<span class="love"></span>
<span class="num">23456789</span>
</div>
</a></li>
<li><a href="">
<img src="img/img/pro/5.jpg" alt="">
<span class="title">宇宙少女 迷你五辑《WJPLEASE?》</span>
<div>
<span class="money">¥50</span>
<span class="love"></span>
<span class="num">4567890</span>
</div>
</a></li>
</ul>
</div>
</div>
</body>
</html>

 

 

 

 

------------------------------------------css------------------------------------------

.content{
background-color: #CCCCCC;
}
.content .type{
background-color: white;
height: 160px;
}
.content .type-con{
border: 1px solid #CCCCCC;
width: 1000px;
margin: 20px auto;
padding: 5px 20px;
height: 100px;

}
.content .type-con dl{
/* 定位 */
position: relative;

}
.content .type-con dl:first-child{
padding-bottom: 10px;
border-bottom: 1px dotted #CCCCCC;
}
.content .type-con dt{
font-size: 16px;
font-weight: bolder;
}
.content .type-con dd{
font-size: 12px;

color: #CCCCCC;
/* 定位 */
position: absolute;
top: -14px;
line-height: 28px;
}
.content .type-con dd ul li{
display: inline-table;
width: 120px;
/* 1个px代表
2个代表上下左右
*/
}
ul li{

list-style: none;
}


.content .list{
width: 1042px;
margin: 0 auto;
}
.content .list ul{
padding-left: 0;
}
.content .list ul li{
width: 180px;
display: inline-table;
background-color: white;
margin: 15px;
}
.content .list ul li:nth-child(5n+1){
margin-left: 0;
}
.content .list ul li:nth-child(5n){
margin-right: 0;
}
.content .list img{
width: 160px;
}
.content .list .title{
color: #000000;
display: block;
}
.content .list div{
text-align: center;
}
.content .list div .money{
color: #DE4767;
}
.content .list div .love{
height: 12px;
width: 12px;
display: inline-block;
background-image: url(../img/icon/ico.png);
background-repeat: no-repeat;
background-position: 1px -73px;
margin: 1px 5px;
display: inline-block;
}
.content .list div .num{
color: #999;
}
.content .list a{
text-decoration: none;
}

这篇关于页面的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!