Brenna O'Brien / @brnnbrn
#SVGType
.heart:hover {
fill: #fff;;
}
<text>
<text>
<text>
101
<text>
101y=0
default<tspan>
textLength
lengthAdjust
<tspan>
<span>
x
& y
dx
& dy
.love {
fill: #FF6666;
}
<textPath>
alignment-baseline
<defs>
<textPath>
<textPath>
<defs>
<textPath>
-webkit-background-clip: text;
<linearGradient>
<radialGradient>
gradientUnits
<linearGradient id="fire" x1="0" y1="0" x2="100%" y2="100%">
<stop stop-color="hotpink" offset="0%"/>
<stop stop-color="goldenrod" offset="100%"/>
</linearGradient>
<radialGradient id="ring-of-fire" cx="50%" cy="50%" r="40"
gradientUnits="userSpaceOnUse">
<stop stop-color="hotpink" offset="0%"/>
<stop stop-color="goldenrod" offset="100%"/>
</radialGradient>
gradientUnits
userSpaceOnUse
objectBoundingBox
see also:
clipPathUnits
, maskUnits
, patternUnits
<image>
<pattern>
<clipPath>
<image>
vs <img>
<pattern>
<pattern>
<image> needs a width and height
preserveAspectRatio
to fill viewBox
patternUnits="userSpaceOnUse"
to size image viewBox
<clipPath>
<clipPath>
<mask>
<rect>
text-anchor
<mask>
<clipPath>
but with more control<mask>
<mask>
<animate>
<animate>
<animate>
<textPath>
and <animate>
<textPath>
and <animate>
<animate>
<animate>
can morph glyphs!
paths must have the exact same number
and typeof anchor points *
* or use GreenSock MorphSVG Plugin
fill="freeze"
to hold end state
duration="indefinite"
and .beginElement()
to trigger with JS
stroke-dasharray
stroke-dashoffset
<text>
<path>
stroke-dasharray
+
stroke-dashoffset
<path>
<path>
<text>
<tspan>
<textPath>
<defs>
<linearGradient>
<radialGradient>
<stop>
<image>
<pattern>
<clipPath>
<mask>
<rect>
<animate>
<line>
<path>
d
fill
stroke
x, y
dx, dy
textLength
lengthAdjust
font-size
font-weight
xlink:href
alignment-baseline
x1, x2
y1, y2
cx, cy, r
stop-color
offset
gradientUnits
clipPathUnits
maskUnits
patternUnits
preserveAspectRatio
text-anchor
fill-opacity
attributeName
to, from
values
begin, dur
repeatCount
stroke-dasharray
stroke-dashoffset
<a>
<altGlyph>
<altGlyphDef>
<altGlyphItem>
<animate>
<animateColor>
<animateMotion>
<animateTransform>
<circle>
<clipPath>
<color-profile>
<cursor>
<defs>
<desc>
<ellipse>
<feBlend>
<feColorMatrix>
<feComponentTransfer>
<feComposite>
<feConvolveMatrix>
<feDiffuseLighting>
<feDisplacementMap>
<feDistantLight>
<feFlood>
<feFuncA>
<feFuncB>
<feFuncG>
<feFuncR>
<feGaussianBlur>
<feImage>
<feMerge>
<feMergeNode>
<feMorphology>
<feOffset>
<fePointLight>
<feSpecularLighting>
<feSpotLight>
<feTile>
<feTurbulence>
<filter>
<font>
<font-face>
<font-face-format>
<font-face-name>
<font-face-src>
<font-face-uri>
<foreignObject>
<g>
<glyph>
<glyphRef>
<hkern>
<image>
<line>
<linearGradient>
<marker>
<mask>
<metadata>
<missing-glyph>
<mpath>
<path>
<pattern>
<polygon>
<polyline>
<radialGradient>
<rect>
<script>
<set>
<stop>
<style>
<svg>
<switch>
<symbol>
<text>
<textPath>
<title>
<tref>
<tspan>
<use>
<view>
<vkern>
accent-height
accumulate
additive
alignment-baseline
allowReorder
alphabetic
amplitude
arabic-form
ascent
attributeName
attributeType
autoReverse
azimuth
baseFrequency
baseline-shift
baseProfile
bbox
begin
bias
by
calcMode
cap-height
class
clip
clipPathUnits
clip-path
clip-rule
color
color-interpolation
color-interpolation-filters
color-profile
color-rendering
contentScriptType
contentStyleType
cursor
cx
cy
d
decelerate
descent
diffuseConstant
direction
display
divisor
dominant-baseline
dur
dx
dy
edgeMode
elevation
enable-background
end
exponent
externalResourcesRequired
fill
fill-opacity
fill-rule
filter
filterRes
filterUnits
flood-color
flood-opacity
font-family
font-size
font-size-adjust
font-stretch
font-style
font-variant
font-weight
format
from
fx
fy
g1
g2
glyph-name
glyph-orientation-horizontal
glyph-orientation-vertical
glyphRef
gradientTransform
gradientUnits
hanging
height
horiz-adv-x
horiz-origin-x
id
ideographic
image-rendering
in
in2
intercept
k
k1
k2
k3
k4
kernelMatrix
kernelUnitLength
kerning
keyPoints
keySplines
keyTimes
lang
lengthAdjust
letter-spacing
lighting-color
limitingConeAngle
local
marker-end
marker-mid
marker-start
markerHeight
markerUnits
markerWidth
mask
maskContentUnits
maskUnits
mathematical
max
media
method
min
mode
name
numOctaves
offset
onabort
onactivate
onbegin
onclick
onend
onerror
onfocusin
onfocusout
onload
onmousedown
onmousemove
onmouseout
onmouseover
onmouseup
onrepeat
onresize
onscroll
onunload
onzoom
opacity
operator
order
orient
orientation
origin
overflow
overline-position
overline-thickness
panose-1
paint-order
path
pathLength
patternContentUnits
patternTransform
patternUnits
pointer-events
points
pointsAtX
pointsAtY
pointsAtZ
preserveAlpha
preserveAspectRatio
primitiveUnits
r
radius
refX
refY
rendering-intent
repeatCount
repeatDur
requiredExtensions
requiredFeatures
restart
result
rotate
rx
ry
scale
seed
shape-rendering
slope
spacing
specularConstant
specularExponent
speed
spreadMethod
startOffset
stdDeviation
stemh
stemv
stitchTiles
stop-color
stop-opacity
strikethrough-position
strikethrough-thickness
string
stroke
stroke-dasharray
stroke-dashoffset
stroke-linecap
stroke-linejoin
stroke-miterlimit
stroke-opacity
stroke-width
style
surfaceScale
systemLanguage
tableValues
target
targetX
targetY
text-anchor
text-decoration
text-rendering
textLength
to
transform
type
u1
u2
underline-position
underline-thickness
unicode
unicode-bidi
unicode-range
units-per-em
v-alphabetic
v-hanging
v-ideographic
v-mathematical
values
version
vert-adv-y
vert-origin-x
vert-origin-y
viewBox
viewTarget
visibility
width
widths
word-spacing
writing-mode
x
x-height
x1
x2
xChannelSelector
xlink:actuate
xlink:arcrole
xlink:href
xlink:role
xlink:show
xlink:title
xlink:type
xml:base
xml:lang
xml:space
y
y1
y2
yChannelSelector
z
zoomAndPan
#SVGType 5 wow!
(504) 229-6828