通过css旋转字体示例代码
网站建设 2023-01-28 21:39www.1681989.com免费网站
复制代码
代码如下:<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
.mouth{
font-size:20px;
font-weight:bold;
border:1px solid #F00;
display:block; width:50px;
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
</style>
</head>
<body>
<div class="example">
<span class="mouth">09</span>
</div>
</body>
</html>
上一篇:文本输入框 文字左移输入示例代码
下一篇:在表格加样式解决表格中英文和数字不能换行