让文字旋转270度的css样式

Tanya ·
更新时间:2024-11-11
· 644 次阅读


代码如下:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<script type="text/javascript">
</script>
<style type="text/css">
.rotation1{
position:absolute;filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);left:100px;top:10px;
}
.rotation2{
position:absolute;filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);left:140px;top:10px;
}
.rotation3{
position:absolute;filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);left:170px;top:10px;
}
</style>
<BODY>
<span class="rotation1"><h2 style="color:#ccddff;">A</h2></span>
<span class="rotation2"><h2 style="color:#ccddff;">B</h2></span>
<span class="rotation3"><h2 style="color:#ccddff;">C</h2></span>
</BODY>
</HTML>



CSS

需要 登录 后方可回复, 如果你还没有账号请 注册新账号