当先锋百科网

首页 1 2 3 4 5 6 7
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
	h1{
		text-shadow:#F00 5px 5px 5px;
	}
	p{
		width:11em;
		border:1px solid #F00;
	}
	.word-wrap{
		word-wrap:break-word;
	}
</style>

<title>无标题文档</title>
</head>

<body>

<h1>这个是text-shadow的文字阴影效</h1>

<div>
	<p>这个无属性的文字。abcdefghijklmn bcdefghijklmnabcdefghijklmn.abcdefghijklmn。abcdefghijklmn</p>
	<p class="word-wrap">这个是word-wrap的自动换行效果。abcdefghijklmn bcdefghijklmnabcdefghijklmn.abcdefghijklmn。abcdefghijklmn</p>
</div>
</body>
</html>

效果图: