请老师看下,还有哪里需要改善的

来源:2-5 编程练习

qq_終奌傷起奌

2019-10-05 03:00:57

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" type="text/css" href="text.css">
</head>
<body>
<section class="main">
<aside>
<h1>Recent <samp>Course</samp></h1>
<dl>
<dt>Hyper Text Markup Language</dt>
<span>1</span>
<dd><img src="http://climg.mukewang.com/582e61290001787900500051.png"></dd>
<dd>HTML is the standard markup language used to create web pages and its elements form the building blocks of all websites.</dd>
</dl>
<dl>
<dt>Cascading Style Sheets</dt>
<span>2</span>
<dd><img src="http://climg.mukewang.com/582e61290001787900500051.png"></dd>
<dd>Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g., fonts, colors, spacing) to Web documents.</dd>
</dl>
<dl>
<dt>JavaScript</dt>
<span>3</span>
<dd><img src="http://climg.mukewang.com/582e61290001787900500051.png"></dd>
<dd>JavaScript is a high-level, dynamic, untyped, and interpreted programming language.</dd>
</dl>
<dl>
<dt>AngularJS</dt>
<span>4</span>
<dd><img src="http://climg.mukewang.com/582e61290001787900500051.png"></dd>
<dd>AngularJS is an open-source web application framework mainly maintained by Google and by a community of individuals and...</dd>
</dl>
</aside>
<article>
<h1>Welcome to <samp>Massive Open Online Course!</samp></h1>
<p>We provide the latest knowledge to help you cope with the changing world!</p>
<img src="http://climg.mukewang.com/582e61180001ede703300130.jpg">
<p>We hope that all the students who love the Internet can be more convenient access to learning resources, using the Internet thinking to change our learning.</p>
<p>Focus on IT skills education MOOC, consistent with the development trend of the Internet down to earth's MOOC. We are free, we only teach useful, we concentrate on education.</p>
</article>
</section>
</body>
</html>
*{
	padding:0;
	margin:0;
	font-size:14px;
	font-family:Arial;
	border:none;
}
a{
	text-decoration:none;
}
ul{
	list-style:none;
}
.main{
	width:1200px;
	height:473px;
	margin:34px auto 0;
}
.main h1{
	font-size:30px;
	font-weight:lighter;
	margin-bottom:17px;
}
.main h1 > samp{
	font-size:30px;
	color:#7c7c7c;
}
.main > aside{
	float:left;
	width:450px;
}
.main > aside > dl{
	position:relative;
	display:block;
	height:74px;
}
.main > aside > dl > span{
	font-size:25px;
	position:absolute;
	top:10px;
	left:18px;
	color:#fff;
	z-index:3;
}
.main > aside > dl > dt{
	position:absolute;
	top:-1px;
	left:92px;
	font-size:16px;
	line-height: 16px;
	font-weight:bold;
	text-decoration:underline;
}
.main > aside > dl > dd:first-of-type{
	position:absolute;
	left:0;
}
.main > aside > dl > dd:last-of-type{
	position:absolute;
	top:20px;
	left:90px;
}
.main > article{
	float:right;
	width:720px;
}
.main > article > p{
	font-size:14px;
	margin-bottom:20px;
}
.main > article > img{
	width:720px;
	height:155px;
	margin-bottom: 20px;
}


写回答

1回答

好帮手慕星星

2019-10-07

同学你好,

代码实现效果很棒,不需要修改了哦。

祝学习愉快!

0

0 学习 · 40143 问题

查看课程