Permalink
Browse files

Add transform fallbacks for older browsers

  • Loading branch information...
1 parent 56e5c45 commit b1ac0cd151496cb4dc544bb91d6c062c282a22aa @bebraw committed Aug 15, 2016
Showing with 4 additions and 0 deletions.
  1. +4 −0 css/colorjoe.css
View
@@ -94,6 +94,8 @@
position: absolute;
}
.colorPicker .twod .pointer .shape1 {
+ -webkit-transform: translate(-50%, -50%);
+ -ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: 10px;
height: 10px;
@@ -102,6 +104,8 @@
border-radius: 5px;
}
.colorPicker .twod .pointer .shape2 {
+ -webkit-transform: translate(-50%, -50%);
+ -ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: 8px;
height: 8px;

0 comments on commit b1ac0cd

Please sign in to comment.