html - Internet Explorer 10 gradient issue -
i have following button works in safari, chrome, , firefox:
the css above:
.button { background: linear-gradient(315deg, transparent 10px, #ff7805 10px, #ffa13e 100%) repeat scroll 0 0 transparent; color: #ffffff; font-family: 'ralewayregular',arial,sans-serif; font-size: 1em; margin: 0.5em 0; padding: 0.5em 1.2em 0.5em 0.8em; position: relative; text-decoration: none; transition: 0.3s ease-in-out 0s; }
sadly, in ie10 button strange:
can adjust syntax work? i've managed class added tag can target css.
fiddle below: http://jsfiddle.net/kymtv/1/
just change -ms-
gradient angle:
going from
background: -ms-linear-gradient(315deg, transparent 10px, #ff7805 10px, #ffa13e 100%);
to
background: -ms-linear-gradient(135deg, transparent 10px, #ff7805 10px, #ffa13e 100%);
here's updated fiddle.
Comments
Post a Comment