As much as you know CSS, you can design eye catching web sites.
However, there are many and modern way to make a dynamic eye catching web sites, but among them CSS is the easyst and more user friendly.
In this post I'll write another designing feature of CSS and this will flip a Text vertically.
See the post bellow. CSS rotate property used to flip the text.
Browser Compatibility have tested this code in the following Web browsers:
However, there are many and modern way to make a dynamic eye catching web sites, but among them CSS is the easyst and more user friendly.
In this post I'll write another designing feature of CSS and this will flip a Text vertically.
See the post bellow. CSS rotate property used to flip the text.
HTML Code:
<html>
<head>
<title>Text Flip With CSS</title>
</head>
<body>
<div class="txtFlip">Test message</div>
</body>
</html>
<head>
<title>Text Flip With CSS</title>
</head>
<body>
<div class="txtFlip">Test message</div>
</body>
</html>
CSS Code:
.txtFlip
{
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); /* IE6,IE7 */
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; /* IE8 */
-moz-transform: rotate(-180deg); /* FF3.5+ */
-o-transform: rotate(-180deg); /* Opera 10.5 */
-webkit-transform: rotate(-180deg); /* Safari 3.1+, Chrome */ position: absolute;
}
{
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); /* IE6,IE7 */
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; /* IE8 */
-moz-transform: rotate(-180deg); /* FF3.5+ */
-o-transform: rotate(-180deg); /* Opera 10.5 */
-webkit-transform: rotate(-180deg); /* Safari 3.1+, Chrome */ position: absolute;
}
Browser Compatibility have tested this code in the following Web browsers:
- Internet Explorer
- Mozilla Firefox
- Google Chrome
- Safari
- Opera