HTML TUTORIAL PART 69
PROBLEM:
LOOK AT THE FOLLOWING:
SOLVED:
THE CODE BELOW MADE THE HTML TIP:
PROBLEM:
LOOK AT THE FOLLOWING:
Hello. This is a DIV element.
Hello. This is a DIV element.
SOLVED:
THE CODE BELOW MADE THE HTML TIP:
<!DOCTYPE html>
<html>
<head>
<style>
div
{
width:100px;
height:75px;
background-color:red;
border:1px solid black;
}
div#div2
{
margin:100px;
-ms-transform:scale(2,4); /* IE 9 */
-webkit-transform:scale(2,4); /* Chrome, Safari, Opera */
transform:scale(2,4); /* Standard syntax */
}
</style>
</head>
<body>
<div>Hello. This is a DIV element.</div>
<div id="div2">Hello. This is a DIV element.</div>
</body>
</html>
No comments:
Post a Comment