求帮忙检查4-3谢谢

来源:4-3 编程练习

qq_mysunshine_24

2017-11-27 14:23:22

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>4-3practice</title>

<style type="text/css">

div{background-color: #eee;

font-size: 2em;

line-height: 5em;

text-align: center;}

.english{color: red;

text-decoration: underline;

vertical-align: 10px;}

.text1{font-size: 2em;}

.img1{vertical-align: -5px;}

</style>

</head>

<body>

<div>

<span class="img1"><img src="http://climg.mukewang.com/59c21bae000157fa01000059.jpg"/></span>

<span class="text1">CSS层叠样式表</span>

<span class="english">(Cascading Style Sheets)</span>

</div>

</body>

</html>


写回答

1回答

樱桃小胖子

2017-11-27

测试了你的代码,效果实现的很好,代码也很简洁,继续加油~

0

0 学习 · 36712 问题

查看课程