<!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>
<title>石家庄伸缩门</title>
<meta http-equiv="content-type" content="text/html; charset=gb2312" />
<style>
body {
background-color: #FFFFFF;
color: #595959;
}
#content p {
font: 80%/1.6 Verdana, Geneva, Arial, Helvetica, sans-serif;
}
#content p:first-letter {
font-size: 2em;
padding: 0.1em;
color: #000000;
vertical-align: middle;
}
#content p:first-line {
color: #191970;
}
#content p:first-child {
margin-left: 2em;
}
#content p:first-child:first-line {
color: inherit;
}
</style>
</head>
<body>
<div id="content">
<p></p>
<p>This is a bike.</p>
</div>
</body>
</html>
CSS控制段落首字母放大显示
时间: 2024-11-05 10:52:03