html,
body,
svg {
height: 100%;
}
<svg viewBox="0 0 300 100" xmlns="http://www.w3.org/2000/svg">
<!-- With a height of 0 or less, nothing will be rendered -->
<rect y="0" x="0" width="90" height="0" />
<rect y="0" x="100" width="90" height="60" />
<rect y="0" x="200" width="90" height="100%" />
</svg>
feBlend
For <feBlend>
, height
defines the vertical length for the rendering area of the primitive.
For <feColorMatrix>
, height
defines the vertical length for the rendering area of the primitive.
For <feComponentTransfer>
, height
defines the vertical length for the rendering area of the primitive.
For <feComposite>
, height
defines the vertical length for the rendering area of the primitive.
For <feConvolveMatrix>
, height
defines the vertical length for the rendering area of the primitive.
For <feDiffuseLighting>
, height
defines the vertical length for the rendering area of the primitive.
For <feDisplacementMap>
, height
defines the vertical length for the rendering area of the primitive.
For <feDropShadow>
, height
defines the vertical length for the rendering area of the primitive.
For <feFlood>
, height
defines the vertical length for the rendering area of the primitive.
For <feGaussianBlur>
, height
defines the vertical length for the rendering area of the primitive.
For <feImage>
, height
defines the vertical length for the rendering area of the primitive.
For <feMerge>
, height
defines the vertical length for the rendering area of the primitive.
For <feMorphology>
, height
defines the vertical length for the rendering area of the primitive.
For <feOffset>
, height
defines the vertical length for the rendering area of the primitive.
For <feSpecularLighting>
, height
defines the vertical length for the rendering area of the primitive.
For <feTile>
, height
defines the vertical length for the rendering area of the primitive.
For <feTurbulence>
, height
defines the vertical length for the rendering area of the primitive.
For <filter>
, height
defines the vertical length for the rendering area of the filter.
For <foreignObject>
, height
defines the vertical length for the rendering area for the referenced document.
Note: Starting with SVG2, height
is a Geometry Property meaning this attribute can also be used as a CSS property for <foreignObject>
.
For <image>
, height
defines the vertical length for the image.
auto
| <length> | <percentage> Default value auto
(treated as the intrinsic height of the image) Animatable Yes
Note: Starting with SVG2, height
is a Geometry Property meaning this attribute can also be used as a CSS property for images.
For <mask>
, height
defines the vertical length of its area of effect. The exact effect of this attribute is influenced by the maskUnits
attribute.
For <pattern>
, height
defines the vertical length of the tile pattern. The exact effect of this attribute is influenced by the patternUnits
and patternTransform
attributes.
0
Animatable Yes rect
For <rect>
, height
defines the vertical length for the rectangle.
Note: Starting with SVG2, height
is a Geometry Property meaning this attribute can also be used as a CSS property for rectangles.
For <svg>
, height
defines the vertical length for the rendering area of the SVG viewport.
Note: In an HTML document if both the viewBox
and height
attributes are omitted, the svg element will be rendered with a height of 150px
Note: Starting with SVG2, height
is a Geometry Property meaning this attribute can also be used as a CSS property for <svg>
.
For <use>
, height
defines the vertical length for the referenced element.
Note: height
has no effect on use
elements, unless the element referenced has a viewBox - i.e., they only have an effect when use
refers to a svg
or symbol
element.
Note: Starting with SVG2, height
is a Geometry Property meaning this attribute can also be used as a CSS property for used elements.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4