首页 > 开发 > CSS > 正文

通过css旋转字体示例代码

2024-07-11 08:27:56
字体:
来源:转载
供稿:网友

复制代码
代码如下:
<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>
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表