英文那个下划线为什么是断断续续的,
来源:4-3 编程练习
yzz_8912这样呀
2018-07-18 11:29:21
<!DOCTYPE html>
<html>
<head>
<title>4-3</title>
<meta charset="utf-8">
<style type="text/css">
div{line-height: 150px;background: #f2f2f2;text-align: center;}
.one{font-size: 50px;}
.two{font-size:25px;color: red;text-transform: capitalize;text-decoration: underline;vertical-align: 10px;}
.three{vertical-align: -11px;}
</style>
</head>
<body>
<div>
<span class="three"><img src="img/CSS3.jpg"/></span>
<span class="one">CSS层叠样式表</span>
<span class="two">(cascading style sheets)</span>
</div>
</body>
</html>
1回答
测试了你的代码,并没有出现截图的效果,可能是浏览器解析的问题,可以尝试使用其他浏览器测试一下哦!
相似问题