Home >Web Front-end >CSS Tutorial >css to rotate text 270 degrees

css to rotate text 270 degrees

高洛峰
高洛峰Original
2016-11-24 09:16:392695browse

css rotates text 270 degrees

<!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>


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:css initialization codeNext article:css initialization code