html - Internet Explorer 10 gradient issue -


i have following button works in safari, chrome, , firefox:

enter image description here

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:

enter image description here

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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -