forked from simonwhitaker/github-fork-ribbon-css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgh-fork-ribbon.ie.css
34 lines (31 loc) · 1.19 KB
/
gh-fork-ribbon.ie.css
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
/* IE voodoo courtesy of http://stackoverflow.com/a/4617511/263871 and
* http://www.useragentman.com/IETransformsTranslator */
.github-fork-ribbon-wrapper.right .github-fork-ribbon {
/* IE positioning hack (couldn't find a transform-origin alternative for IE) */
top: -22px;
right: -22px;
/* IE8+ */
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.7071067811865474, M12=-0.7071067811865477, M21=0.7071067811865477, M22=0.7071067811865474, SizingMethod='auto expand')";
/* IE6 and 7 */
filter: progid:DXImageTransform.Microsoft.Matrix(
M11=0.7071067811865474,
M12=-0.7071067811865477,
M21=0.7071067811865477,
M22=0.7071067811865474,
SizingMethod='auto expand'
);
}
.github-fork-ribbon-wrapper.left .github-fork-ribbon {
top: -22px;
left: -22px;
/* IE8+ */
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.7071067811865483, M12=0.7071067811865467, M21=-0.7071067811865467, M22=0.7071067811865483, SizingMethod='auto expand')";
/* IE6 and 7 */
filter: progid:DXImageTransform.Microsoft.Matrix(
M11=0.7071067811865483,
M12=0.7071067811865467,
M21=-0.7071067811865467,
M22=0.7071067811865483,
SizingMethod='auto expand'
);
}