Remote Tutor
Home
PHP
PHP
PHP WITH MYSQL
JAVASCRIPT
JQUERY
AJAX
XML
ASP
C SHARP
JAVA
ORACLE
ORACLE
SQL
PL\SQL
MYSQL
WEBLOGIC
Pages
Home
PHP
Home
CSS3
The rotate() Method CSS3
|
Saturday, 1 June 2013
|
The rotate() Method CSS3
The rotate() Method
With the rotate() method, the element rotates clockwise at a given degree. Negative values are allowed and rotates the element counter-clockwise.
Example
<!DOCTYPE html>
<html>
<head>
<style>
div
{
width:100px;
height:75px;
background-color:red;
border:1px solid black;
}
div#div2
{
transform:rotate(30deg);
-ms-transform:rotate(30deg); /* IE 9 */
-webkit-transform:rotate(30deg); /* Safari and Chrome */
}
</style>
</head>
<body>
<div>Hello. This is a DIV element.</div>
<div id="div2">Hello. This is a DIV element.</div>
</body>
</html>
Related Pots
No comments:
Hot in Week
Javascript Date toLocaleTimeString() Method
CSS Syntax
SQL - Sub Queries
PHP MySQL Select
Cutomize WebSite Template for Software House
CSS Legal Color Values
CSS3 background-origin Property
Javascript Array join() Method
The rotate() Method CSS3
CSS Line border in Table
Contact Us
Name
Email
*
Message
*
Category
AJAX
API
ASCII
ASP
C SHARP
C#
CONSTRAINT
CSS
CSS3
Google API
Google+
HTML
HTML5
JAVA
JAVASCRIPT
JQUERY
MYSQL
ORACLE
OTHERS
PHP
PHP-FUNCTIONS
PHP-MYSQL
PL-SQL
SQL
SQL-JOIN
SQL-OPERATORS
WEBLOGIC
WEBSITE
WEBSITE TEMPLATE
XML
Powered by
Blogger
.
Recent Comments
| Copyright © 2013
Remote Tutor
No comments: