Skip to content

Commit

Permalink
Demo for Chrome and IE
Browse files Browse the repository at this point in the history
  • Loading branch information
cyr15103 committed Sep 12, 2017
1 parent 38298ad commit ab78af3
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
28 changes: 28 additions & 0 deletions demo/demo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@


.rotated-box {
transform: rotateZ(20deg);;
height:100px;
background-color:blue;
width:50%;
margin-top:10%;
margin-left:2%;
color:white;
padding-top: 20px;
}

.rotated-box2 {
transform: rotate(20deg);
height:100px;
background-color:blue;
width:50%;
margin-top:10%;
margin-left:2%;
color:white;
padding-top: 20px;
}
p {
margin-left:40px;
margin-right:40px;

}
18 changes: 18 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Demo</title>
<link rel="stylesheet" type="text/css" href="demo.css">
</head>
<body>
<h1>Demo</h1>
<div class="rotated-box">
<p>This is a css transform demo to show how newer elements may not work depending on the browser.</p>
</div>

<div class="rotated-box2">
<p>This is a css transform demo to show how newer elements may not work depending on the browser.</p>
</div>
</body>
</html>

0 comments on commit ab78af3

Please sign in to comment.