User Tools

Site Tools


css:gradients

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
css:gradients [2020/05/20 09:34] – created petercss:gradients [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 77: Line 77:
  
 ---- ----
 +
 +===== Gradient Background =====
 +
 +Here’s the only currently supported background-image values (both vendor extensions):
 +
 +<code css>
 +background-image: -webkit-gradient (
 +  linear,
 +  left top,
 +  left bottom,
 +  color-stop(0, #FFFFFF),
 +  color-stop(1, #000000)
 +);
 +
 +background-image: -moz-linear-gradient (
 +  center top,
 +  #FFFFFF 0%,
 +  #000000 100%
 +);
 +
 +background-image: linear-gradient (
 +  top,
 +  #FFFFFF 0%,
 +  #000000 100%
 +);
 +
 +filter: progid:DXImageTransform.Microsoft.Gradient (
 +  StartColorStr='#FFFFFF',
 +  EndColorStr='#000000',
 +  GradientType=0
 +);
 +</code>
  
css/gradients.1589967278.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki