-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtransformtest.html
More file actions
69 lines (59 loc) · 1.81 KB
/
transformtest.html
File metadata and controls
69 lines (59 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<!-- Forces IE to use the latest rendering engine -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>IE11 Transform Test</title>
<style>
body {
font-family: sans-serif;
text-align: center;
padding: 50px;
background-color: #f4f4f4;
}
.container {
margin: 50px auto;
width: 200px;
padding: 20px;
background: white;
border: 1px solid #ddd;
}
/* The Box to Transform */
.box {
width: 100px;
height: 100px;
margin: 0 auto;
background-color: #0078d7; /* Classic IE Blue */
color: white;
line-height: 100px;
font-weight: bold;
/* IE9 fallback */
-ms-transform: rotate(15deg) translate(20px, 0);
/* IE10, IE11, and modern browsers */
transform: rotate(15deg) translate(20px, 0);
/* Basic transition for hover effect */
transition: transform 0.3s ease;
}
.box:hover {
-ms-transform: rotate(0deg) scale(1.1);
transform: rotate(0deg) scale(1.1);
}
.status-note {
margin-top: 20px;
font-size: 0.9em;
color: #555;
}
</style>
</head>
<body>
<h1>Internet Explorer 11 Transform Showcase</h1>
<div class="container">
<div class="box">IE11</div>
</div>
<div class="status-note">
<p><strong>Testing Guide:</strong></p>
<p>If the blue box is tilted and moved to the right, your <strong>transform</strong> is working.</p>
<p>Hover over the box; it should straighten and grow slightly.</p>
</div>
</body>
</html>