radialGradient

Baseline Widely available *

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

* Some parts of this feature may have varying levels of support.

radialGradient permite que autores definam gradientes radiais para preencher ou tracejar elementos gráficos

Contexto de uso

CategoriasElemento gradiente
Conteúdo permitidoQualquer número dos seguintes elementos, em qualquer ordem:
Elementos descritivos
<animate>, <animateTransform>, <script>, <set>, <stop>, <style>

Exemplo

Atributos

Atributos globais

Atributos específicos

Interface DOM

Este elemento implementa a interface do SVGRadialGradientElement.

Compatibilidade com navegadores

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
radialGradient
cx
cy
fr
fx
fy
gradientTransform
gradientUnits
href
r
spreadMethod
xlink:href
Deprecated

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Deprecated. Not for use in new websites.

Relacionado