Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40940, comment 1


Ignore:
Timestamp:
06/07/2017 03:23:45 PM (7 years ago)
Author:
vrubleg
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40940, comment 1

    initial v1  
     1MDN even provides [https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient#Cross-browser_gradients a similar example]:
     2
     3{{{
     4.grad {
     5  background-color: #F07575; /* fallback color if gradients are not supported */
     6  background-image: -webkit-linear-gradient(top, hsl(0, 80%, 70%), #bada55); /* For Chrome 25 and Safari 6, iOS 6.1, Android 4.3 */
     7  background-image:    -moz-linear-gradient(top, hsl(0, 80%, 70%), #bada55); /* For Firefox (3.6 to 15) */
     8  background-image:      -o-linear-gradient(top, hsl(0, 80%, 70%), #bada55); /* For old Opera (11.1 to 12.0) */
     9  background-image:         linear-gradient(to bottom, hsl(0, 80%, 70%), #bada55); /* Standard syntax; must be last */
     10}
     11}}}
     12
     13
    114Yeah, and maybe it will be better to remove all prefixed versions. All browsers support it for years, even IE10 and IE11 support it. No any reason to keep this obsolete stuff.