File:SVG-Gradient.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 128 × 68 pixels, file size: 477 bytes)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: 2 linear gradients respectively of 2 and 3 colors.
Français : 2 dégradés linéaires respectivement avec 2 et 3 couleurs.
Date
Source

This file was derived from:

Author Sarang disgarbaged File:2 dégradés linéaires.svg
SVG development
InfoField
 
The SVG code is valid.
 
This diagram was created with a text editor.
 
Please do not replace the simplified code of this file with a version created with Inkscape or any other vector graphics editor
Source code
InfoField

SVG code

<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="68">
<linearGradient id="a">
 <stop offset="0" stop-color="#f0f"/>
 <stop offset="1" stop-color="#0ff"/>
</linearGradient>
<linearGradient id="b">
 <stop offset="0" stop-color="#0f0"/>
 <stop offset=".5" stop-color="#ff0"/>
 <stop offset="1" stop-color="#f00"/>
</linearGradient>
<rect fill="url(#b)" width="128" height="68"/>
<rect fill="url(#a)" width="128" height="34"/>
</svg>
Anything more is not required. It would also work without the default offset="0" but W3C would tag that an error.

Licensing[edit]

w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current08:53, 20 November 2016Thumbnail for version as of 08:53, 20 November 2016128 × 68 (477 bytes)Sarang (talk | contribs)== {{int:filedesc}} == {{Information |description={{en|1=2 linear {{W|Color gradient|gradients}} respectively of 2 and 3 colors.}} {{fr|1=2 {{Wf|Dégradé de couleurs|dégradés}} linéaires respectivement avec 2 et 3 couleurs.}} |date=2016-09-20 |sour...

The following 3 pages use this file:

Metadata