Custom CSS deleting -o tags
-
I’m trying to add the following code to the “Edit CSS” area created by JetPack’s Custom CSS add-on, yet every time I click “Save Stylesheet” it deletes the “from” section in the “-o-keyframes” declaration and modifies the “to” section:
.green { background: -moz-linear-gradient( top, #00ff00 0%, #009900); background: -webkit-gradient( linear, left top, left bottom, from(#00ff00), to(#009900)); -moz-box-shadow: 0px 1px 3px rgba(0,255,0,0.5), inset 0px 0px 1px rgba(255,255,255,0.7); -webkit-box-shadow: 0px 1px 3px rgba(0,255,0,0.5), inset 0px 0px 1px rgba(255,255,255,0.7); box-shadow: 0px 1px 3px rgba(0,255,0,0.5), inset 0px 0px 1px rgba(255,255,255,0.7); } /* Customizing .slider .css3button .animate --------------------------------------------- */ .animate { -webkit-animation: cssAnimation 1s 1 linear; -moz-animation: cssAnimation 1s 1 linear; -o-animation: cssAnimation 1s 1 linear; } @-webkit-keyframes cssAnimation { from { -webkit-transform: rotate(0deg) scale(0.1) skew(1deg) translate(0px); } to { -webkit-transform: rotate(360deg) scale(0.93) skew(1deg) translate(0px); } } @-moz-keyframes cssAnimation { from { -moz-transform: rotate(0deg) scale(0.1) skew(1deg) translate(0px); } to { -moz-transform: rotate(360deg) scale(0.93) skew(1deg) translate(0px); } } @-o-keyframes cssAnimation { from { -o-transform: rotate(0deg) scale(0.1) skew(1deg) translate(0px); } to { -o-transform: rotate(360deg) scale(0.93) skew(1deg) translate(0px); } }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom CSS deleting -o tags’ is closed to new replies.