Properties
-ro-align-content
Aligns the content of a block-level element inside the element. The property has no effect if the height of the content is larger than the block element's height.
-
auto
The content is positioned as usual inside the block.
-
start
Content is positioned at the top of the block.
-
center
Content is vertically centered inside the block.
-
end
Content is positioned at the bottom of the block.
align-content
Defines how the space between and around flex content items is distributed.
align-items
Defines how the space between and around flex items along the cross-axis is distributed.
align-self
Overrides the alignment defined by the align-items property.
See also:
-ro-alt-text
The property -ro-alt-text is used to specify an alternative description for an element for use in PDF tags.
-
none
The element receives no alternate text.
-
<string>
Defines alternate text for the element.
-
-ro-attr(<attribute>)
Defines alternate text for the element from an attribute of the element.
More information:
-ro-anchor
This property allows to define an anchor via style.
Note: an element defined as an anchor automatically also is assigned a PDF ID ("named destination") equal to the given identifier.
-
none
The element is not an anchor.
-
<identifier>
The element is an anchor with the given identifier.
-
-ro-attr(<attribute> -ro-ident)
The element is an anchor with the given identifier resolved from the -ro-attr() function.
More information:
-ro-art-size
Specifies the size of the ArtBox, one of the PDF page boxes.
-
none
The element does not specify an ArtBox.
-
media
The ArtBox is specified with the same dimensions as the MediaBox.
-
trim
The ArtBox is specified with the same dimensions as the TrimBox.
-
crop
The ArtBox is specified with the same dimensions as the CropBox.
More information:
-ro-author
Sets the author in the metadata of the PDF document. Multiple values are concatenated to one string. (When applied to multiple elements the values are concatenated, separated by a comma.)
-
none
Does not set a author.
-
<string>
Sets the specified string as author.
-
content()
Sets the author from the content of the element.
-
-ro-attr(<attribute>)
Sets the author from the specified attribute of the element.
See also:
More information:
background
This property is a shorthand property for setting most background properties at the same place in the style sheet. Note that only the final background layer may have a background-color.
-
bg-layer
<bg-image> || <position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>
-
final-bg-layer
<bg-image> || <position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box> || <'background-color'>
See also:
background-attachment
If background images are specified, this property specifies whether they are fixed with regard to the viewport ('fixed') or scroll along with the element ('scroll').
<attachment> = scroll | fixed | inherit
-
scroll
This keyword means that the background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)
-
fixed
This keyword means that the background is fixed with regard to the viewport. Even if an element has a scrolling mechanism, a 'fixed' background doesn't move with the element.
background-clip
Determines the background painting area, which determines the area within which the background is painted.
-
border-box
The background is painted within (clipped to) the border box.
-
padding-box
The background is painted within (clipped to) the padding box.
-
content-box
The background is painted within (clipped to) the content box.
background-color
This property sets the background color of an element. The color is drawn behind any background images.
-
<color>
Is a CSS <color> that describes the uniform color of the background. Even if one or several background-image are defined, this color can be affect the rendering, by transparency if the images aren't opaque.
More information:
background-image
This property sets the background image of an element. When setting a background image, authors should also specify a background color that will be used when the image is unavailable. When the image is available, it is rendered on top of the background color. (Thus, the color is visible in the transparent parts of the image).
-
<uri>
The format of a URI value is 'url(' followed by optional white space followed by an optional single quote (') or double quote (") character followed by the URI itself, followed by an optional single quote (') or double quote (") character followed by optional white space followed by ')'. The two quote characters must be the same.
background-origin
For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g. boxes on several pages), specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).
-
padding-box
The position is relative to the padding box. (For single boxes '0 0' is the upper left corner of the padding edge, '100% 100%' is the lower right corner.)
-
border-box
The position is relative to the border box.
-
content-box
The position is relative to the content box.
-
-ro-page-box
Only valid for background-images of pages. The background is positioned relative to the page box (including the page margins)
-
-ro-bleed-box
Only valid for background-images of pages. The background is positioned relative to the bleed box.
See also:
background-position
If a background image has been specified, this property specifies its initial position. If only one value is specified, the second value is assumed to be 'center'. If at least one value is not a keyword, then the first value represents the horizontal position and the second represents the vertical position. Negative <percentage> and <length> values are allowed.
<position> = [
[ left | center | right | top | bottom | <percentage> | <length> ]
|
[ left | center | right | <percentage> | <length> ]
[ top | center | bottom | <percentage> | <length> ]
|
[ center | [ left | right ] [ <percentage> | <length> ]? ] &&
[ center | [ top | bottom ] [ <percentage> | <length> ]? ]
]
| inherit
-
<percentage>
A percentage X aligns the point X% across (for horizontal) or down (for vertical) the image with the point X% across (for horizontal) or down (for vertical) the element's padding box. For example, with a value pair of '0% 0%',the upper left corner of the image is aligned with the upper left corner of the padding box. A value pair of '100% 100%' places the lower right corner of the image in the lower right corner of the padding box. With a value pair of '14% 84%', the point 14% across and 84% down the image is to be placed at the point 14% across and 84% down the padding box.
-
<length>
A length L aligns the top left corner of the image a distance L to the right of (for horizontal) or below (for vertical) the top left corner of the element's padding box. For example, with a value pair of '2cm 1cm', the upper left corner of the image is placed 2cm to the right and 1cm below the upper left corner of the padding box.
-
top
Equivalent to '0%' for the vertical position.
-
right
Equivalent to '100%' for the horizontal position.
-
bottom
Equivalent to '100%' for the vertical position.
-
left
Equivalent to '0%' for the horizontal position.
-
center
Equivalent to '50%' for the horizontal position if it is not otherwise given, or '50%' for the vertical position if it is.
background-repeat
If a background image is specified, this property specifies whether the image is repeated (tiled), and how. All tiling covers the content, padding and border areas of a box.
<repeat-style> = repeat-x | repeat-y | [repeat | space | round | no-repeat]{1,2}
If two keywords are used, the first defines the horizontal repeat style, the second the vertical one.
-
repeat
The image is repeated both horizontally and vertically. Or for one direction if used together with another keyword.
-
repeat-x
The image is repeated horizontally only.
-
repeat-y
The image is repeated vertically only.
-
no-repeat
The image is not repeated: only one copy of the image is drawn.
-
space
The image is repeated as often as possible without clipping. The remaining space is then distributed between the images.
-
round
The image is repeated as often as possible without clipping. Then the remaining space is filled by scaling the images until they fit.
background-size
Specifies the size of the background images.
<bg-size> = [ <length> | <percentage> | auto ]{1,2} | cover | contain
-
[ <length> | <percentage> | auto ]{1,2}
The first value gives the width of the corresponding image, the second value its height. If only one value is given the second is assumed to be 'auto'.
A percentage is relative to the background positioning area.
An 'auto' value for one dimension is resolved by using the image's intrinsic ratio and the size of the other dimension, or failing that, using the image's intrinsic size, or failing that, treating it as 100%.
If both values are 'auto' then the intrinsic width and/or height of the image should be used, if any, the missing dimension (if any) behaving as 'auto' as described above. If the image has neither an intrinsic width nor an intrinsic height, its size is determined as for 'contain'.
Negative values are not allowed.
-
cover
Scales the image so that it completely covers the area, without changing its aspect ratio.
-
contain
Scales the image so that it completely fits in the area, without changing its aspect ratio.
-ro-bleed-width
Specifies the width of the bleed area around the TrimBox. This implicitly defines the size of the BleedBox. Twice the bleed widthadded up on the width and height of the TrimBox' (twice for both sides of the TrimBox).
See also:
More information:
-ro-bookmark-label
Defines the text content of a bookmark, i.e. the title as it appears in a PDF reader's outline.
-ro-bookmark-level
Using this property, one can structure the specified elements within the bookmark view of the PDF viewer. The elements are ordered in ascending order. The element with the lowest bookmark level is on top of the bookmark hierarchy (similar to HTML headlines).
-ro-bookmark-state
This property defines whether a bookmark should be opened, thus showing the next level of bookmarks. If set to closed, the bookmark's descendants are initially hidden.
-ro-bookmarks-enabled
This property allows to enable or disable PDF bookmarks for the content inside an iframe.
If the iframe is seamless, this property is set to true by default.
More information:
border
This property is a shorthand property for setting the same width, color, and style for all four borders of a box.
See also:
border-bottom-left-radius border-bottom-right-radius border-top-left-radius border-top-right-radius
The two length or percentage values of the 'border-*-radius' properties define the radii of a quarter ellipse that defines the shape of the corner of the outer border edge. The first value is the horizontal radius, the second the vertical radius. If the second value is omitted it is copied from the first. If either length is zero, the corner is square, not rounded. Percentages for the horizontal radius refer to the width of the border box, whereas percentages for the vertical radius refer to the height of the border box. Negative values are not allowed.
See also:
border-collapse
This property selects a table's border model. The value 'separate' selects the separated borders border model. The value 'collapse' selects the collapsing borders model.
border-color
The 'border-color' property sets the color of the four borders.
The 'border-color' property can have from one to four component values, and the values are set on the different sides as for 'border-width'.
See also:
More information:
-ro-border-inline-start -ro-border-inline-end -ro-border-block-start -ro-border-block-end
BiDi text direction dependent alternatives for border-left, border-right, border-top and border-bottom.
See also:
More information:
-ro-border-inline-start-color -ro-border-inline-end-color -ro-border-block-start-color -ro-border-block-end-color
BiDi text direction dependent alternatives for border-left-color, border-right-color, border-top-color and border-bottom-color.
See also:
More information:
-ro-border-inline-start-style -ro-border-inline-end-style -ro-border-block-start-style -ro-border-block-end-style
BiDi text direction dependent alternatives for border-left-style, border-right-style, border-top-style and border-bottom-style.
See also:
More information:
-ro-border-inline-start-width -ro-border-inline-end-width -ro-border-block-start-width -ro-border-block-end-width
BiDi text direction dependent alternatives for border-left-width, border-right-width, border-top-width and border-bottom-width.
See also:
More information:
-ro-border-length
Defines the length of a top border starting from the left (or the right if direction is right-to-left).
border-radius
The 'border-radius' shorthand sets all four 'border-*-radius' properties. If values are given before and after the slash, then the values before the slash set the horizontal radius and the values after the slash set the vertical radius. If there is no slash, then the values set both radii equally. The four values for each radii are given in the order top-left, top-right, bottom-right, bottom-left. If bottom-left is omitted it is the same as top-right. If bottom-right is omitted it is the same as top-left. If top-right is omitted it is the same as top-left.
See also:
border-spacing
The lengths specify the distance that separates adjoining cell borders. If one length is specified, it gives both the horizontal and vertical spacing. If two are specified, the first gives the horizontal spacing and the second the vertical spacing. Lengths may not be negative.
The distance between the table border and the borders of the cells on the edge of the table is the table's padding for that side, plus the relevant border spacing distance. For example, on the right hand side, the distance is padding-right + horizontal border-spacing.
border-style
The 'border-style' property sets the style of the four borders. It can have from one to four component values, and the values are set on the different sides as for 'border-width'.
See also:
border-top border-right border-bottom border-left
This is a shorthand property for setting the width, style, and color of the top, right, bottom, and left border of a box.
See also:
border-top-color border-right-color border-bottom-color border-left-color
The 'border-*-color' properties set the color of the specified border.
See also:
More information:
border-top-style border-right-style border-bottom-style border-left-style
The border style properties specify the line style of a box's border (solid, double, dashed, etc.). The properties defined in this section refer to the <border-style> value type, which may take one of the following values:
-
none
No border; the computed border width is zero.
-
hidden
Same as 'none', except in terms of border conflict resolution for table elements.
-
dotted
The border is a series of dots.
-
dashed
The border is a series of short line segments.
-
solid
The border is a single line segment.
-
double
The border is two solid lines. The sum of the two lines and the space between them equals the value of 'border-width'.
-
groove
The border looks as though it were carved into the canvas.
-
ridge
The opposite of 'groove': the border looks as though it were coming out of the canvas.
-
inset
The border makes the box look as though it were embedded in the canvas.
-
outset
The opposite of 'inset': the border makes the box look as though it were coming out of the canvas.
See also:
border-top-width border-right-width border-bottom-width border-left-width
The border width properties specify the width of the border area. The properties defined in this section refer to the <border-width> value type, which may take one of the following values:
See also:
border-width
This property is a shorthand property for setting 'border-top-width', 'border-right-width', 'border-bottom-width', and 'border-left-width' at the same place in the style sheet.
If there is only one component value, it applies to all sides. If there are two values, the top and bottom borders are set to the first value and the right and left are set to the second. If there are three values, the top is set to the first value, the left and right are set to the second, and the bottom is set to the third. If there are four values, they apply to the top, right, bottom, and left, respectively.
See also:
bottom
Like 'top', but specifies how far a box's bottom margin edge is offset above the bottom of the box's containing block. For relatively positioned boxes, the offset is with respect to the bottom edge of the box itself.
-
<length>
The offset is a fixed distance from the reference edge. Negative values are allowed.
-
<percentage>
The offset is a percentage of the containing block's height. Negative values are allowed.
-
auto
For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well. For replaced elements, the effect of this value depends on the intrinsic dimensions of the replaced content.
See also:
box-decoration-break
When a block is split, this property determines whether margins, borders and paddings wrap the edges of the split box or if they should be "sliced".
If a block has a background, this property determines whether the background is "sliced".
-
clone
Each box fragment is rendered individually. Margins, borders, and paddings wrap around all edges of the box. Backgrounds are restart in each fragment.
-
slice
The box fragments are rendered as if they were sliced. Background images are continued in the next fragment, margins, border and paddings are removed "between" the fragments.
box-shadow
Applies one or more rectangular shadows to a box.
-
inset
If specified, the box-shadow is applied on the inside of the element.
-
<offset-x> <offset-y>
The first two <length> values specify the position of the shadow.
-
<blur-radius>
The third <length> value defines the radius of the shadow's blur.
-
<spread-radius>
The fourth <length> value defines by what length the shadow should be expanded, before the blur is applied.
-
<color>
The color of the shadow. If omitted, the current value of the color property is used.
box-sizing
Defines which box is used to calculate the widths and heights of elements.
-
content-box
This is the behavior as specified by CSS2.1. The width and height properties apply to the width and height of the content box of the element. The padding and border of the element are laid out and drawn outside the specified width and height.
-
border-box
Width and height properties on this element determine the border box of the element. That means that any padding or border specified on the element is laid out and drawn inside this specified width and height.
break-before break-after
These properties describe page/column/region break behavior before/after the element's box.
-
auto
Neither force nor forbid a page/column/region break before/after the box.
-
always
Always force a page break before/after the box.
-
avoid
Avoid a page/column/region break before/after the box.
-
left
Force one or two page breaks before/after the box so that the next page is formatted as a left page, inserting a blank page if necessary.
-
right
Force one or two page breaks before/after the box so that the next page is formatted as a right page, inserting a blank page if necessary.
-
verso
Same as 'left', unless the document direction is right-to-left, i.e. the root or body element has a 'direction' value of 'rtl', in which case it is the same as 'right'.
-
recto
Same as 'right', unless the document direction is right-to-left, i.e. the root or body element has a 'direction' value of 'rtl', in which case it is the same as 'left'.
-
page
Always force a page break before (after) the box.
-
column
Always force a column break before/after the box.
-
region
Always force a region break before/after the box.
-
avoid-page
Avoid a page break before/after the box.
-
avoid-column
Avoid a column break before/after the box.
-
avoid-region
Avoid a region break before/after the box.
More information:
break-inside
This property describes the page/column/region break behavior inside the element's box.
-
auto
Neither force nor forbid a page break inside the generated box.
-
avoid
Avoid any break inside the generated box.
-
avoid-page
Avoid a page/column/region break inside the generated box.
-
avoid-column
Avoid a column break inside the generated box.
-
avoid-region
Avoid a region break inside the generated box.
More information:
caption-side
This property specifies the position of the caption box with respect to the table box.
clear
This property indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.
-
left
Requires that the top border edge of the box be below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document.
-
right
Requires that the top border edge of the box be below the bottom outer edge of any right-floating boxes that resulted from elements earlier in the source document.
-
-ro-inline-start
BiDi text direction dependent alternative for 'left' or 'right'.
-
-ro-inline-end
BiDi text direction dependent alternative for 'right' or 'left'.
-
both
Requires that the top border edge of the box be below the bottom outer edge of any right-floating and left-floating boxes that resulted from elements earlier in the source document.
-
none
No constraint on the box's position with respect to floats.
clip
A clipping region defines what portion of an element's border box is visible. By default, the element is not clipped. However, the clipping region may be explicitly set with the 'clip' property.
-
auto
The element does not clip.
-
<shape>
In CSS 2.1, the only valid <shape> value is: rect(<top>, <right>, <bottom>, <left>) where <top> and <bottom> specify offsets from the top border edge of the box, and <right>, and <left> specify offsets from the left border edge of the box. Authors should separate offset values with commas.
<top>, <right>, <bottom>, and <left> may either have a <length> value or 'auto'. Negative lengths are permitted. The value 'auto' means that a given edge of the clipping region will be the same as the edge of the element's generated border box (i.e., 'auto' means the same as '0' for <top> and <left>, the same as the used value of the height plus the sum of vertical padding and border widths for <bottom>, and the same as the used value of the width plus the sum of the horizontal padding and border widths for <right>, such that four 'auto' values result in the clipping region being the same as the element's border box).
color
This property describes the foreground color of an element's text content.
More information:
-ro-colorbar-top-left -ro-colorbar-top-right -ro-colorbar-bottom-left -ro-colorbar-bottom-right -ro-colorbar-left-top -ro-colorbar-left-bottom -ro-colorbar-right-top -ro-colorbar-right-bottom
Color bars for print layout in oversized pages.
-
gradient-tint
Defines a set of 11 grayscale colors, starting with a CMYK value of 0% each and raising the cyan, magenta and yellow values by 10% on every step.
-
progressive-color
Defines a set including solid process colors (cyan, magenta, yellow, black), solid overprint colors (cyan & magenta, cyan & yellow, magenta & yellow) and a 50% tint of each of the process colors.
-
[<color>]+
One or more colors which will be sequentially painted from left to right or from top to bottom respectively.
More information:
-ro-column-break-before -ro-column-break-after
These properties describe column break behavior before/after the element's box.
Deprecated!
column-count
This property describes the number of columns of a multicol element.
-
auto
means that the number of columns will be determined by other properties (e.g., 'column-width', if it has a non-auto value).
-
<integer>
describes the optimal number of columns into which the content of the element will be flowed. Values must be greater than 0. If both 'column-width' and 'column-count' have non-auto values, the integer value describes the maximum number of columns.
More information:
-ro-column-count
This property describes the number of columns of a multicol element.
Deprecated!
column-fill
In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.
More information:
-ro-column-fill
In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.
Deprecated!
column-gap
The 'column-gap' property sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.
More information:
-ro-column-gap
The 'column-gap' property sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.
Deprecated!
column-rule
This property is a shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.
See also:
More information:
-ro-column-rule
This property is a shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.
Deprecated!
column-rule-color
This property sets the color of the column rule.
More information:
-ro-column-rule-color
This property sets the color of the column rule.
Deprecated!
column-rule-style
The 'column-rule-style' property sets the style of the rule between columns of an element. The <border-style> values are defined in CSS2.1 and the values are interpreted as in the collapsing border model.
See also:
More information:
-ro-column-rule-style
The 'column-rule-style' property sets the style of the rule between columns of an element. The <border-style> values are defined in CSS2.1 and the values are interpreted as in the collapsing border model.
Deprecated!
column-rule-width
This property sets the width of the rule between columns. Negative values are not allowed.
See also:
More information:
-ro-column-rule-width
Deprecated!
column-span
This property describes how many columns an element spans across.
-
none
The element does not span multiple columns.
-
all
The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appears. The element establishes a new block formatting context.
More information:
-ro-column-span
This property describes how many columns an element spans across.
Deprecated!
column-width
This property describes the width of columns in multicol elements.
-
auto
means that the column width will be determined by other properties (e.g., 'column-count', if it has a non-auto value).
-
<length>
describes the optimal column width. The actual column width may be wider (to fill the available space), or narrower (only if the available space is smaller than the specified column width). Specified values must be greater than 0.
More information:
-ro-column-width
This property describes the width of columns in multicol elements.
Deprecated!
columns
This is a shorthand property for setting 'column-width' and 'column-count'. Omitted values are set to their initial values.
See also:
More information:
-ro-columns
This is a shorthand property for setting 'column-width' and 'column-count'. Omitted values are set to their initial values.
Deprecated!
Specifies the color of the comment. The initial value of this property depends on the value of the '-ro-comment-style' property: '-ro-comment-highlight' for 'note' and 'highlight', '-ro-comment-underline' for 'underline' and 'squiggly', '-ro-comment-strikeout' for 'strikeout'
More information:
Specifies the content of a comment.
-
none
The comment receives no content.
-
<string>
Defines the content of the comment.
-
content()
Defines the content of the comment from the content of the element.
-
-ro-attr(<attribute>)
Defines the content of the comment from an attribute of the element.
More information:
Specifies the date of the comment which will be formatted according to the value of the "-ro-comment-dateformat" property. If no date is specified, the current date will be used.
-
<string>
The date of the comment.
More information:
The format wich is applied to the string value of the "-ro-comment-date" property. The format of this value is similar to the Java SimpleDateFormat class.
The initial value is the ISO date format.
More information:
The position of the note icon of the comment. This property is only applicable when the value of the property "-ro-comment-style" is set to note.
More information:
Specifies the start or end elements which encompass commented text. Both properties have to be specified in the respective element to link the start element of the comment with the end element.
-
<string>
A unique identifier which links start and end element.
-
-ro-attr(<attribute>)
A unique identifier from an attribute of the element which links start and end element.
-
[<string>]
An optional second identifier to link start and end properties. This should only be used if the unique identifier is not unique for all elements but only for certain elements.
More information:
The initial state of the comment bubbles displayed by the viewer. This property only affects certain PDF viewers.
More information:
Specifies the style of the comment.
-
note
Displays the comment as a note icon.
-
highlight
Highlights the background of the comment area in a certain color.
-
underline
Underlines the text of the comment area with a straight line.
-
strikeout
Strikes out the text of the comment area.
-
squiggly
Underlines the text of the comment area with a squiggly line.
-
invisible
Does not visualize the comment in any way.
More information:
Specifies the title or author of the comment.
-
none
The comment receives no title.
-
<string>
Defines the title of the comment.
-
-ro-attr(<attribute>)
Defines the content of the comment from an attribute of the element.
More information:
content
This property is used with the :before and :after pseudo-elements to generate content in a document.
-
none
The pseudo-element is not generated.
-
normal
Computes to 'none' for the :before and :after pseudo-elements.
-
<string> ☛
Text content.
-
<counter> ☛
Counters may be specified with two different functions: 'counter()' or 'counters()'.
-
attr(<attribute>)
This function returns as a string the value of attribute <attribute> for the subject of the selector.
-
<target-counter> ☛
Target counters may be specified with two different functions: 'target-counter()' or 'target-counters()'.
-
<target-text> ☛
Target text may be specified with the function: 'target-text()'.
-
<named-string> ☛
Named strings may be specified with the function: 'string()'. The string function has two arguments. The name of the named string as identifier and the location on the page (which is optional).
-
<leader> ☛
Leaders may be specified with the function: 'leader()'.
-
<running-element> ☛
Running Elements may be specified with the function: 'element()' from a position property. The element function has two arguments. The name of the running element as identifier and the location on the page (which is optional).
More information:
counter-increment
The 'counter-increment' property accepts one or more names of counters (identifiers), each one optionally followed by an integer. The integer indicates by how much the counter is incremented for every occurrence of the element. The default increment is 1. Zero and negative integers are allowed.
More information:
counter-reset
The 'counter-reset' property contains a list of one or more names of counters, each one optionally followed by an integer. The integer gives the value that the counter is set to on each occurrence of the element. The default is 0.
More information:
-ro-counter-set
The '-ro-counter-set' property contains a list of one or more names of counters, each one optionally followed by an integer.
The integer gives the value that the counter is set to on each occurrence of the element. The default is 0.
The difference to the 'counter-reset' property is, that '-ro-counter-set' does not create a new instance of a counter if an existing counter is present. This allows '-ro-counter-set' to reset an existing counter from anywhere inside the document.
More information:
-ro-crop-size
Specifies the size of the CropBox, one of the PDF page boxes.
-
none
The element does not specify a CropBox.
-
media
The CropBox is specified with the same dimensions as the MediaBox.
-
trim
The CropBox is specified with the same dimensions as the TrimBox.
-
art
The CropBox is specified with the same dimensions as the ArtBox.
More information:
cursor
This property specifies the type of cursor to be displayed for the pointing device.
-
auto
The UA determines the cursor to display based on the current context.
-
crosshair
A simple crosshair (e.g., short line segments resembling a "+" sign).
-
default
The platform-dependent default cursor. Often rendered as an arrow.
-
pointer
The cursor is a pointer that indicates a link.
-
move
Indicates something is to be moved.
-
e-resize, ne-resize, nw-resize, n-resize, se-resize, sw-resize, s-resize, w-resize
Indicate that some edge is to be moved. For example, the 'se-resize' cursor is used when the movement starts from the south-east corner of the box.
-
text
Indicates text that may be selected. Often rendered as an I-beam.
-
wait
Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass.
-
progress
A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass.
-
help
Help is available for the object under the cursor. Often rendered as a question mark or a balloon.
-
<uri>
The user agent retrieves the cursor from the resource designated by the URI. If the user agent cannot handle the first cursor of a list of cursors, it should attempt to handle the second, etc. If the user agent cannot handle any user-defined cursor, it must use the generic cursor at the end of the list. Intrinsic sizes for cursors are calculated as for background images, except that a UA-defined rectangle is used in place of the rectangle that establishes the coordinate system for the 'background-image' property. This UA-defined rectangle should be based on the size of a typical cursor on the UA's operating system. If the resulting cursor size does not fit within this rectangle, the UA may proportionally scale the resulting cursor down until it fits within the rectangle.
direction
This property specifies the base writing direction of blocks and the direction of embeddings and overrides (see 'unicode-bidi') for the Unicode bidirectional algorithm. In addition, it specifies such things as the direction of table column layout, the direction of horizontal overflow, the position of an incomplete last line in a block in case of 'text-align: justify'.
-
ltr
Left-to-right direction.
-
rtl
Right-to-left direction.
See also:
More information:
display
The computed value is the same as the specified value, except for positioned and floating elements (see Relationships between 'display', 'position', and 'float') and for the root element. For the root element, the computed value is changed as described in the section on the relationships between 'display', 'position', and 'float'.
Note that although the initial value of 'display' is 'inline', rules in the user agent's default style sheet may override this value. See the sample style sheet for HTML 4 in the appendix.
-
block
This value causes an element to generate a block box.
-
inline-block
This value causes an element to generate an inline-level block container. The inside of an inline-block is formatted as a block box, and the element itself is formatted as an atomic inline-level box.
-
inline
This value causes an element to generate one or more inline boxes.
-
list-item
This value causes an element (e.g., LI in HTML) to generate a principal block box and a marker box. For information about lists and examples of list formatting, please consult the section on lists.
-
table, inline-table, table-row-group, table-column, table-column-group, table-header-group, table-footer-group, table-row, table-cell, and table-caption
These values cause an element to behave like a table element (subject to restrictions described in the chapter on tables).
-
flex
This value cause an element to behave the same like a block element and lays out its content according to the flexible box model.
-
inline-flex
The value cause an element to behave like an inline element and lays out its content according to the flexible box model.
-
none
This value causes an element to not appear in the formatting structure (i.e., in visual media the element generates no boxes and has no effect on layout). Descendant elements do not generate any boxes either; the element and its content are removed from the formatting structure entirely. This behavior cannot be overridden by setting the 'display' property on the descendants.
Please note that a display of 'none' does not create an invisible box; it creates no box at all. CSS includes mechanisms that enable an element to generate boxes in the formatting structure that affect formatting but are not visible themselves. Please consult the section on visibility for details.
empty-cells
In the separated borders model, this property controls the rendering of borders and backgrounds around cells that have no visible content. Empty cells and cells with the 'visibility' property set to 'hidden' are considered to have no visible content.
-
show
When this property has the value 'show', borders and backgrounds are drawn around/behind empty cells (like normal cells).
-
hide
A value of 'hide' means that no borders or backgrounds are drawn around/behind empty cells. Furthermore, if all the cells in a row have a value of 'hide' and have no visible content, then the row has zero height and there is vertical border-spacing on only one side of the row.
filter
Allows to apply one or more graphical effects on an element. When doing so, the element is rasterized. The quality of the resulting image can be customized via the proprietary property "-ro-rasterization-supersampling". Note that a higher quality has a negative impact on performance and memory.
See also:
blur,
brightness,
contrast,
drop-shadow,
grayscale,
hue-rotate,
invert,
opacity,
-ro-rasterization-supersampling,
saturate,
sepia
first-page-side
Defines whether the first page of the document is a left or right page.
-
left
The first page is a left page.
-
right
The first page is a right page.
-
verso
Same as 'left', unless the document direction is right-to-left, i.e. the root or body element has a 'direction' value of 'rtl', in which case it is the same as 'right'.
This means that the first page is not a cover page.
-
recto
Same as 'right', unless the document direction is right-to-left, i.e. the root or body element has a 'direction' value of 'rtl', in which case it is the same as 'left'.
This means that the first page is a cover page.
-
auto
Same as 'recto', unless the root or body element has a 'break-before' value of 'left', 'right' or 'verso', in which case it is the same as that value.
See also:
More information:
first-page-side-view
Defines whether the first page should appear to be left or a right page. In contrast to first-page-side, this property does not influence the layout, only on which side the page is shown in the viewer application.
-
left
The first page is displayed left.
-
right
The first page is displayed right.
-
verso
Same as 'left', unless the document direction is right-to-left, i.e. the root or body element has a 'direction' value of 'rtl', in which case it is the same as 'right'.
This means that the first page is not displayed as a cover page.
-
recto
Same as 'right', unless the document direction is right-to-left, i.e. the root or body element has a 'direction' value of 'rtl', in which case it is the same as 'left'.
This means that the first page is displayed as a cover page.
-
auto
Same as the used value of 'first-page-side'.
See also:
More information:
flex
Specifies the components of a flexible length: The grow factor, the shrink factor and the basis.
See also:
flex-basis
Sets the flex basis.
flex-direction
Specifies in which direction flex items are placed in the flex container.
flex-flow
Shorthand property for flex-direction and flex-wrap.
See also:
flex-grow
Sets the flex grow factor.
flex-shrink
Sets the flex shrink factor.
flex-wrap
Specifies if and how a flex line is broken, if an item does not fit in the line anymore.
float
This property specifies whether a box should float to the left, right, or not at all. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.
-
left
The element generates a block box that is floated to the left. Content flows on the right side of the box, starting at the top (subject to the 'clear' property).
-
right
Similar to 'left', except the box is floated to the right, and content flows on the left side of the box, starting at the top.
-
-ro-inline-start
BiDi text direction dependent alternative for 'left' or 'right'.
-
-ro-inline-end
BiDi text direction dependent alternative for 'right' or 'left'.
-
none
The box is not floated.
See also:
More information:
-ro-flow-from
The 'flow-from' property makes a block container a region and associates it with a named flow.
-
none
The block container is not a CSS Region.
-
<identifier>
The block container becomes a CSS Region, and is ordered in a region chain according to its document order.
More information:
-ro-flow-into
The 'flow-into' property can place an element or its contents into a named flow.
Content that belongs to the same flow is laid out in regions associated with that flow.
The 'flow-into' property neither affects the CSS cascade and inheritance nor the DOM position of an element or its contents.
A named flow needs to be associated with one or more regions to be displayed.
-
none
The element is not moved to a named flow and normal CSS processing takes place.
-
<identifier>
If the keyword 'element' or neither keyword is present, the element is taken out of its parent's flow and placed into the named flow '<identifier>'.
If the keyword 'content' is present, then only the element's contents is placed into the named flow.
The values 'none', 'inherit', 'default', 'auto' and 'initial' are invalid flow names.
More information:
font
The 'font' property is, except as described below, a shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height' and 'font-family' at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts.
All font-related properties are first reset to their initial values, including those listed in the preceding paragraph. Then, those properties that are given explicit values in the 'font' shorthand are set to those values.
See also:
-ro-font-embedding-type
This property specifies how a font configured through a ”@font-face" rule should be embedded in the resulting PDF. If the font includes multiple subsets, PDFreactor can either only embed the subset from which glyphs are being used in the document, the entire font incl. all subsets even if the document does not use glyphs from all subsets, or prevent the font from being embedded at all.
-
subset
Only the subset or subsets that have glyphs being used in this document are embedded in the resulting PDF.
-
all
All subsets of this font are embedded, regardless of whether or not glyphs from these subsets are actually being used.
-
none
The font is not embedded in the document at all, even if glyphs from this font are being used.
font-family
The property value is a prioritized list of font family names and/or generic family names. Unlike most other CSS properties, component values are separated by a comma to indicate that they are alternatives.
-
<family-name>
The name of a font family of choice.
-
<generic-family>
The following generic families are defined:
'serif' (e.g., Times)
'sans-serif' (e.g., Helvetica)
'cursive' (e.g., Zapf-Chancery)
'fantasy' (e.g., Western)
'monospace' (e.g., Courier)
Style sheet designers are encouraged to offer a generic font family as a last alternative. Generic font family names are keywords and must NOT be quoted.
font-size
The font size corresponds to the em square, a concept used in typography. Note that certain glyphs may bleed outside their em squares.
-
<absolute-size>
An <absolute-size> keyword is an index to a table of font sizes computed and kept by the UA. Possible values are:
[ xx-small | x-small | small | medium | large | x-large | xx-large ]
-
<relative-size>
A <relative-size> keyword is interpreted relative to the table of font sizes and the font size of the parent element. Possible values are: [ larger | smaller ]. For example, if the parent element has a font size of 'medium', a value of 'larger' will make the font size of the current element be 'large'.
font-style
The 'font-style' property selects between normal (sometimes referred to as "roman" or "upright"), italic and oblique faces within a font family.
font-variant
Another type of variation within a font family is the small-caps. In a small-caps font the lower case letters look similar to the uppercase ones, but in a smaller size and with slightly different proportions. The 'font-variant' property selects that font.
font-weight
The 'font-weight' property selects the weight of the font. The values '100' to '900' form an ordered sequence, where each number indicates a weight that is at least as dark as its predecessor. The keyword 'normal' is synonymous with '400', and 'bold' is synonymous with '700'.
The 'bolder' and 'lighter' values select font weights that are relative to the weight inherited from the parent.
-ro-formelement-name
Defines from which element or attribute in the document the names of the form elements are adopted to a generated PDF.
More information:
height
This property specifies the content height of boxes.
This property does not apply to non-replaced inline elements.
Negative values for 'height' are illegal.
-
<length>
Specifies the height of the content area using a length value.
-
<percentage>
Specifies a percentage height. The percentage is calculated with respect to the height of the generated box's containing block. If the height of the containing block is not specified explicitly (i.e., it depends on content height), and this element is not absolutely positioned, the value computes to 'auto'. A percentage height on the root element is relative to the initial containing block.
-
auto
The height depends on the values of other properties.
-ro-height
This property allows the automatic resizing of form controls according to
their content. If this property is set to auto, the form controls' height automatically adjusts according to its content.
More information:
hyphenate-after
This property specifies the minimum number of characters in a hyphenated word after the hyphenation character. The 'auto' value means that the UA chooses a value that adapts to the current layout.
More information:
hyphenate-before
This property specifies the minimum number of characters in a hyphenated word before the hyphenation character. The 'auto' value means that the UA chooses a value that adapts to the current layout.
More information:
hyphenate-character
This property specifies a string that is shown when a hyphenate-break occurs. The 'auto' value means that the user agent should find an appropriate value.
More information:
hyphens
This property controls whether hyphenation is allowed to create more soft wrap opportunities within a line of text.
-
none
Words are not hyphenated, even if characters inside the word explicitly define hyphenation opportunities.
-
manual
Words are only hyphenated where there are characters inside the word that explicitly suggest hyphenation opportunities.
-
auto
Words may be broken at appropriate hyphenation points either as determined by hyphenation characters inside the word or as determined automatically by a language-appropriate hyphenation resource. Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation opportunities within the word.
More information:
initial-page
This defines to which page a viewer application should scroll when opening this document.
More information:
initial-zoom
Defines the initial zoom factor when opening the document in a viewer application.
-
fit-page
The entire page is visible.
-
fit-page-height
The page fills the view port height.
-
fit-page-width
The page fills the view port width.
-
fit-content
The content fills the complete view port.
-
fit-content-height
The content fills the view port height.
-
fit-content-width
The content fills the view port width.
More information:
justify-content
Specifies how the space between flex items along the main axis is distributed.
-ro-keywords
Sets the keywords in the metadata of the PDF document. Multiple values are concatenated to one string. (When applied to multiple elements the values are concatenated, separated by a comma.)
-
none
Does not set a keywords.
-
<string>
Sets the specified string as keywords.
-
content()
Sets the keywords from the content of the element.
-
-ro-attr(<attribute>)
Sets the keywords from the specified attribute of the element.
See also:
More information:
left
Like 'top', but specifies how far a box's left margin edge is offset to the right of the left edge of the box's containing block. For relatively positioned boxes, the offset is with respect to the left edge of the box itself.
-
<length>
The offset is a fixed distance from the reference edge. Negative values are allowed.
-
<percentage>
The offset is a percentage of the containing block's width. Negative values are allowed.
-
auto
For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well. For replaced elements, the effect of this value depends on the intrinsic dimensions of the replaced content.
See also:
letter-spacing
This property specifies spacing behavior between text characters.
-
normal
The spacing is the normal spacing for the current font. This value allows the user agent to alter the space between characters in order to justify text.
-
<length>
This value indicates inter-character space in addition to the default space between characters.
-ro-line-grid
Specifies whether this box creates a new baseline grid for its descendants or uses the same baseline grid as its parent.
More information:
line-height
On a block container element whose content is composed of inline-level elements, 'line-height' specifies the minimal height of line boxes within the element. The minimum height consists of a minimum height above the baseline and a minimum depth below it, exactly as if each line box starts with a zero-width inline box with the element's font and line height properties.
-
normal
Tells user agents to set the used value to a "reasonable" value based on the font of the element. The value has the same meaning as <number>. The computed value is 'normal'.
-
<length>
The specified length is used in the calculation of the line box height. Negative values are illegal.
-
<number>
The used value of the property is this number multiplied by the element's font size. Negative values are illegal. The computed value is the same as the specified value.
-
<percentage>
The computed value of the property is this percentage multiplied by the element's computed font size. Negative values are illegal.
-ro-line-snap
This property applies to all the line boxes directly contained by the element, and, when not none, causes each line box to shift until it snaps to the line grid specified by line-grid.
-
none
Line boxes do not snap to the grid; they stack normally.
-
baseline
The baseline snaps to the line grid applied to the element.
-
contain
Two baselines are used to align the line box: the line box is snapped so that its central baseline is centered between two of the line grid's baselines.
More information:
-ro-link
This property allows to define hyperlinks via style. Multiple values are concatenated to one URL.
-
none
The element is not a hyperlink.
-
<string>
The element is a hyperlink to the URL the <string> contains.
-
-ro-attr(<attribute>) ☛
The element is a hyperlink to the URL the <string> resolved from the -ro-attr() function.
See also:
More information:
-ro-link-area
This property can be used to specify how the 'clickable' areas of a link are determined.
-
content
For block elements there is one clickable area for each piece of content (text, image or empty block).
For inline elements there is one clickable area for each part.
-
block
For block elements there is one clickable area for the whole block.
For inline elements there is one clickable area for the bounding rectangle of all parts.
-
content-block
For block elements there is one clickable area for the bounding rectangle of the content.
For inline elements there is one clickable area for the bounding rectangle of all parts.
See also:
More information:
list-style
The 'list-style' property is a shorthand notation for setting the three properties 'list-style-type', 'list-style-image', and 'list-style-position' at the same place in the style sheet.
See also:
list-style-image
This property sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker.
list-style-position
This property specifies the position of the marker box with respect to the principal block box.
-
outside
The marker box is outside the principal block box. The position of the list-item marker adjacent to floats is undefined in CSS 2.1. CSS 2.1 does not specify the precise location of the marker box or its position in the painting order, but does require that for list items whose 'direction' property is 'ltr' the marker box be on the left side of the content and for elements whose 'direction' property is 'rtl' the marker box be on the right side of the content. The marker box is fixed with respect to the principal block box's border and does not scroll with the principal block box's content.
-
inside
The marker box is placed as the first inline box in the principal block box, before the element's content and before any :before pseudo-elements.
list-style-type
This property specifies appearance of the list item marker if 'list-style-image' has the value 'none' or if the image pointed to by the URI cannot be displayed. The value 'none' specifies no marker, otherwise there are three types of marker: glyphs, numbering systems, and alphabetic systems.
Glyphs are specified with disc, circle, and square.
-
<counter-style>
The list item marker is formatted according to the given counter style.
Unordered types are: box, check, circle, diamond, disc, dash, square.
Ordered types are for example lower-alpha, lower-greek or upper-roman.
More information:
-ro-listitem-value
The name of the property to determine the start number of a list item. The content contains the number a numbered itemized list starts width.
margin
The 'margin' property is a shorthand property for setting 'margin-top', 'margin-right', 'margin-bottom', and 'margin-left' at the same place in the style sheet.
If there is only one component value, it applies to all sides. If there are two values, the top and bottom margins are set to the first value and the right and left margins are set to the second. If there are three values, the top is set to the first value, the left and right are set to the second, and the bottom is set to the third. If there are four values, they apply to the top, right, bottom, and left, respectively.
See also:
-ro-margin-inline-start -ro-margin-inline-end -ro-margin-block-start -ro-margin-block-end
BiDi text direction dependent alternatives for margin-left, margin-right, margin-top and margin-bottom.
See also:
More information:
margin-top margin-right margin-bottom margin-left
These properties set the top, right, bottom, and left margin of a box.
See also:
-ro-marks
Adds the specified printer marks inside the page's MediaBox.
-
none
No marks are added to the page.
-
trim
Adds trim line marks to the four corners of the page.
-
bleed
Adds bleed line marks to the four corners of the page.
-
registration
Adds registration marks to the four sides of the page.
See also:
More information:
-ro-marks-color
Sets the color of the printer marks.
See also:
More information:
-ro-marks-width
Sets the width of the printer marks.
See also:
More information:
max-height
This property allows authors to limit box heights.
-
<length>
Specifies a fixed maximum computed height.
-
<percentage>
Specifies a percentage for determining the used value. The percentage is calculated with respect to the height of the generated box's containing block. If the height of the containing block is not specified explicitly (i.e., it depends on content height), and this element is not absolutely positioned, the percentage value is treated as 'none'.
-
none
No limit on the height of the box.
See also:
max-width
This property allows authors to constrain content widths to a maximum.
-
<length>
Specifies a fixed maximum used width.
-
<percentage>
Specifies a percentage for determining the used value. The percentage is calculated with respect to the width of the generated box's containing block. If the containing block's width is negative, the used value is zero. If the containing block's width depends on this element's width, then the resulting layout is undefined in CSS 2.1.
-
none
No limit on the width of the box.
See also:
-ro-media-size
Specifies the size of the MediaBox, one of the PDF page boxes.
The MediaBox defines an oversized paper sheet that allows to add a bleed area, marks and color bars around the normal page content.
This property works the same way as the size property does.
See also:
More information:
min-height
This property allows authors to set a minimum box height.
-
<length>
Specifies a fixed minimum computed height.
-
<percentage>
Specifies a percentage for determining the used value. The percentage is calculated with respect to the height of the generated box's containing block. If the height of the containing block is not specified explicitly (i.e., it depends on content height), and this element is not absolutely positioned, the percentage value is treated as '0'.
See also:
min-width
This property allows authors to constrain content widths to a minimum value.
-
<length>
Specifies a fixed minimum used width.
-
<percentage>
Specifies a percentage for determining the used value. The percentage is calculated with respect to the width of the generated box's containing block. If the containing block's width is negative, the used value is zero. If the containing block's width depends on this element's width, then the resulting layout is undefined in CSS 2.1.
See also:
object-fit
Defines how the content of replaced elements like images fit into their box.
-
fill
The content fills the complete element. The aspect ratio of images may be lost.
-
contain
The size of the content is adjusted so that it fits in the element (scaling up or down). The aspect ratio is preserved.
-
cover
The size of the content is adjusted so that it completely covers in element (scaling up or down). The aspect ratio is preserved.
-
none
The size of the content is not adjusted in any way.
-
scale-down
If the size of the content is too large, it is adjusted so that it fits in the element (as if "contain" was set). If it is smaller than the element, it keeps it size (as if "none" was set).
-ro-object-slice
When set to auto allows a block image to be split at page breaks.
-ro-offset-inline-start -ro-offset-inline-end -ro-offset-block-start -ro-offset-block-end
BiDi text direction dependent alternatives for left, right, top and bottom.
See also:
More information:
opacity
Specifies the transparency of an element.
order
Specifies in which order the flex items are laid out in their container.
orphans
The 'orphans' property specifies the minimum number of lines in a block container that must be left at the bottom of a page.
Only positive values are allowed.
More information:
outline
The 'outline' property is a shorthand property, and sets all three of 'outline-style', 'outline-width', and 'outline-color'.
See also:
outline-color
The 'outline-color' accepts all colors, as well as the keyword 'invert'. 'Invert' is expected to perform a color inversion on the pixels on the screen. This is a common trick to ensure the focus border is visible, regardless of color background.
See also:
More information:
outline-style
The 'outline-style' property accepts the same values as 'border-style', except that 'hidden' is not a legal outline style.
See also:
outline-width
The 'outline-width' property accepts the same values as 'border-width'.
See also:
overflow
This property specifies whether content of a block container element is clipped when it overflows the element's box. It affects the clipping of all of the element's content except any descendant elements (and their respective content and descendants) whose containing block is the viewport or an ancestor of the element.
-
visible
This value indicates that content is not clipped, i.e., it may be rendered outside the block box.
-
hidden
This value indicates that the content is clipped and that no scrolling user interface should be provided to view the content outside the clipping region.
overflow-wrap word-wrap
This property specifies whether the UA may arbitrarily break within a word to prevent overflow when an otherwise unbreakable string is too long to fit within the line box. It only has an effect when 'white-space' allows wrapping.
-
normal
Lines may break only at allowed break points.
-
break-word
An unbreakable "word" may be broken at an arbitrary point if there are no otherwise acceptable break points in the line. Shaping characters are still shaped as if the word were not broken, and grapheme clusters must together stay as one unit. No hyphenation character is inserted at the break point.
padding
The 'padding' property is a shorthand property for setting 'padding-top', 'padding-right', 'padding-bottom', and 'padding-left' at the same place in the style sheet.
See also:
-ro-padding-inline-start -ro-padding-inline-end -ro-padding-block-start -ro-padding-block-end
BiDi text direction dependent alternatives for padding-left, padding-right, padding-top and padding-bottom.
See also:
More information:
padding-top padding-right padding-bottom padding-left
These properties set the top, right, bottom, and left padding of a box.
See also:
page
This property is used to specify a particular type of page (called a named page) on which an element must be displayed. If necessary, a forced page break is introduced and a new page generated of the specified type.
More information:
page-break-before page-break-after
Shorthand for the 'break-before' and 'break-after' properties.
-
auto
Neither force nor forbid a page break before (after) the generated box.
-
always
Always force a page break before (after) the generated box.
-
avoid
Avoid a page break before (after) the generated box.
-
left
Force one or two page breaks before (after) the generated box so that the next page is formatted as a left page.
-
right
Force one or two page breaks before (after) the generated box so that the next page is formatted as a right page.
See also:
page-break-inside
Shorthand for the 'break-inside' property.
See also:
page-layout
Defines the view mode that is initially used to view the document.
The property values have some synonyms: Instead of "1" and "2", "single", "one" and "two" can be used. Page and column are also valid in their plural forms.
More information:
pages-counter-offset
An optional offset to the value of the "pages" counter, e.g. "-1" to not count the cover page.
More information:
-ro-passdown-styles
The -ro-passdown-styles property controls how style is passed down from an embedding document to an embedded document.
Counters or Named Strings from the embedding document will remain available to the embedded document, independent of the value set
-
all
Default value, all inheritable inline styles and all style sheets passed down to the embedded document.
-
stylesheets-only
Styles that have been set via the style-attribute (inline styles) are ignored,
but the style sheets of the embedding document are passed down.
-
none
Styles are not passed down to the embedded document.
More information:
-ro-pdf-attachment-description
The description of the attachment. If this is not specified the name is used.
More information:
-ro-pdf-attachment-location
Specifies whether the attachment is related to the area of the element.
More information:
-ro-pdf-attachment-name
The file name associated with the attachment. It is recommended to specify the correct file extension. If this is not specified the name is derived from the URL.
More information:
-ro-pdf-attachment-url
A URL pointing to the file to be embedded. This URL can be relative. Specifying "#" will embed the source document.
More information:
-ro-pdf-bookmark-level
Using this property, one can structure the specified elements within the bookmark view of the PDF viewer. The elements are ordered in ascending order. The element with the lowest bookmark level is on top of the bookmark hierarchy (similar to HTML headlines).
More information:
Deprecated!
-ro-pdf-format
This property converts form elements to interactive PDF forms.
More information:
-ro-pdf-overprint -ro-pdf-overprint-content
Using the properties -ro-pdf-overprint and -ro-pdf-overprint-content you can specify the
overprint properties of elements and their content to either none (default), mode0 or mode1 (zero overprint mode).
-ro-pdf-overprint affects the entire element, while -ro-pdf-overprint-content only affects the content of the element (not its borders and backgrounds). In both cases the children of the element are affected entirely, unless overprint styles are applied to them as well.
-
none
Disables overprinting.
Painting a new color, no matter in which color space, causes unspecified colorants to be erased at the corresponding positions.
This means that in any area, only the color that was painted last is visible.
-
mode0
Standard overprint mode, also known as "OPM 0". In this mode source color component values replace values that have been previously painted for the corresponding device colorants, regardless what the new values are.
-
mode1
Illustrator overprint mode, also known as "OPM 1" or "nonzero overprint mode". When the overprint mode is 1, tint values of 0.0 for source color components do not change the corresponding components of previously painted colors.
More information:
pdf-script-action
Sets a PDF script that is executed when the PDF is opened by a viewer application, that supports PDF scripts (e.g. Adobe Reader) and it triggers the specified event.
The CSS property has a higher priority than the API method. This means, that the values set with this property will override scripts which are registered on the same event, but were set via the PDFreactor API method setPdfScriptAction().
-
<string>
A JavaScript source string that should be executed by the PDF viewer application, after the PDF has been opened.
-
<event>
The trigger event on which the specified script is executed.
Possible values are: open, close, before-save, after-save, before-print and after-print.
Default value is open.
More information:
-ro-pdf-tag-actual-text
Used for PDF tagging. The text to be used for PDF tagging instead of the text content of the element. Useful for example to allow assistive technology to properly process stylized names.
More information:
-ro-pdf-tag-table-summary
Used for PDF tagging. Summary for a table. Highly recommended for tables without a caption.
-
none
The summary for the table is determined automatically, looking for a caption or a directly preceding heading.
-
<string>
Adds a summary to the PDF tag of the table using the string as value.
More information:
-ro-pdf-tag-type
Used for PDF tagging. Allows overriding the automatic determination of the PDF tag for this element.
-
auto
The PDF tag is determined from the layout information.
-
none
No PDF tag is created for this element. This does not affect its child elements.
-
artifact
Instead of a PDF tag an artifact is created for the element. It and its child elements are not considered content of the document.
-
<string>
The name of the PDF tag to create for the element.
More information:
position
The 'position' and 'float' properties determine which of the positioning algorithms is used to calculate the position of a box.
See also:
More information:
-ro-qrcode-errorcorrectionlevel
Sets the error correction level of the QR code.
-
L
Low level error correction. Up to 7% damaged data can be restored.
-
M
Medium level error correction. Up to 15% damaged data can be restored.
-
Q
Quartile level error correction. Up to 25% damaged data can be restored.
-
H
High level error correction. Up to 30% damaged data can be restored.
More information:
-ro-qrcode-forcedcolors
Defines whether the colors of the QR code are black and white or based on the text color and the background.
-
normal
QR code is black on white.
-
none
Instead of black, the value of the CSS property color is used to paint the squares. The background is visible instead of the white squares.
More information:
-ro-qrcode-quality
By default, The QR code is built from multiple squares. This method is fast and
looks correct in print. However, in PDF viewers on screen the edges of neighboring squares may be visible.
-
normal
The QR code is built from multiple squares.
-
high
The squares are combined into one object, ensuring a seamless look, at the cost of performance.
More information:
-ro-qrcode-quietzonesize
Sets the size of the quiet (empty) zone around the QR code in modules (QR
code "square" widths).
More information:
-ro-radiobuttonelement-group
Defines from which element or attribute in the document the names of the radio button groups are adopted to a generated PDF.
More information:
-ro-rasterization
This property configures in which cases SVGs and Canvas elements should be rasterized. It may disable some functionalities of those elements to avoid that. (Canvas shadows are converted into separate images, not affecting other parts of the Canvas, for both 'fallback' and 'avoid')
-
fallback
The SVG or Canvas is only rasterized when it uses features that are not supported by PDF vector graphics: masks, filters or non-default composites for SVG; non-default composites and ImageData access for Canvas.
-
avoid
Avoids rasterization of the entire SVG or Canvas by disabling functionality that is not supported by PDF vector graphics.
-
always
Rasterizes the Canvas in any case. (does not apply to SVG)
More information:
-ro-rasterization-supersampling
This property configures the resolution of the rasterization of SVGs and Canvas elements or elements with a CSS filter, box-shadows or text-shadows set. Higher resolution factors increase the quality of the image, but also increase the conversion time and the size of the output documents.
-
<integer>
The resolution of the rasterization is 96dpi multiplied by this factor.
For example, a value of 2 means 192dpi.
Accepted values are all positive integers, however, canvas will clip values larger than 4.
More information:
-ro-replacedelement
Turns an element into a so called 'replaced element' that displays an image or other external or embedded content.
-
image
Creates an image replaced element. Used in combination with -ro-source.
-
barcode
Creates a barcode replaced element from embedded Barcode XML content.
-
qrcode
Creates a QR code replaced element. The QR code is read from an existing "href" attribute or the text content of the element.
-
embedded-svg
Creates an SVG replaced element from embedded SVG content.
-
embedded-mathml
Creates a MathML replaced element from embedded MathML content.
See also:
More information:
right
Like 'top', but specifies how far a box's right margin edge is offset to the left of the right edge of the box's containing block. For relatively positioned boxes, the offset is with respect to the right edge of the box itself.
-
<length>
The offset is a fixed distance from the reference edge. Negative values are allowed.
-
<percentage>
The offset is a percentage of the containing block's width. Negative values are allowed.
-
auto
For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well. For replaced elements, the effect of this value depends on the intrinsic dimensions of the replaced content.
See also:
-ro-rounding-mode
Specifies the method that is used for rounding lengths to full pixels.
-ro-rowspan
The property to determine the row span of a cell. The content contains the number of rows spanned by this cell.
-ro-scale-content
This property enables shrink-to-fit functionality.
This functionality scales down entire pages, which can cause gaps at the bottom of pages.
More information:
size
This property specifies the target size and orientation of the page box's containing block. In the general case, where one page box is rendered onto one page sheet, the 'size' property also indicates the size of the destination page sheet.
-
auto
The page box will be set to a size and orientation chosen by the UA. In the usual case, the page box size and orientation is chosen to match the target media sheet.
-
landscape
Specifies that the page's content be printed in landscape orientation. The longer sides of the page box are horizontal. If a '<page-size>' is not specified, the size of the page sheet is chosen by the UA.
-
portrait
Specifies that the page's content be printed in portrait orientation. The shorter sides of the page box are horizontal. If a '<page-size>' is not specified, the size of the page sheet is chosen by the UA.
-
<length>
The page box will be set to the given absolute dimension(s). If only one length value is specified, it sets both the width and height of the page box (i.e., the box is a square). If two length values are specified, the first establishes the page box width, and the second the page box height. Values in units of 'em' and 'ex' refer to the page context's font. Negative lengths are illegal.
-
<page-size>
A page size can be specified using one of the following media names. This is the equivalent of specifying the '<page-size>' using length values. The definition of the media names comes from Media Standardized Names.
A5, A4, A3, B5, B4, letter, legal, ledger
More information:
-ro-source
Specifies the URL of an image. Used in combination with -ro-replacedelement.
See also:
More information:
-ro-source-page
Specifies which page of a PDF should be embedded as an image. Used in combination with -ro-source.
More information:
string-set
The 'string-set' property accepts a comma-separated list of named strings. Each named string is followed by a content list that specifies which text to copy into the named string. Whenever an element with value of 'string-set' different from 'none' is encountered, the named strings are assigned their respective value.
-
<string>
a string, e.g. "foo"
-
<counter>
counter() or counters() function
-
<content> ☛
the 'content()' function returns the content of elements and pseudo-elements.
-
<attr> ☛
the '-ro-attr()' function returns the content of one of the element's attribute.
More information:
-ro-subject
Sets the subject in the metadata of the PDF document. Multiple values are concatenated to one string. (When applied to multiple elements the values are concatenated, separated by a comma.)
-
none
Does not set a subject.
-
<string>
Sets the specified string as subject.
-
content()
Sets the subject from the content of the element.
-
-ro-attr(<attribute>)
Sets the subject from the specified attribute of the element.
See also:
More information:
-ro-tab-size
This property determines the tab size used to render preserved tab characters (U+0009). Integers represent the measure as multiples of the space character's advance width (U+0020). Negative values are not allowed.
table-layout
The 'table-layout' property controls which algorithm is used to lay out tables, including their rows and cells.
text-align
This property describes how the inline-level content of a block is aligned along the inline axis if the content does not completely fill the line box.
-
start
Inline-level content is aligned to the start edge of the line box.
-
end
Inline-level content is aligned to the end edge of the line box.
-
left
Inline-level content is aligned to the line left edge of the line box.
-
right
Inline-level content is aligned to the line right edge of the line box.
-
center
Inline-level content is centered within the line box.
-
justify
Inline-level content is justified within the line box, except the last one.
See also:
text-align-last
This property describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is 'justify'. If a line is also the first line of the block or the first line after a forced line break, then 'text-align-last' takes precedence over 'text-align'.
See also:
text-decoration
This property describes decorations that are added to the text of an element using the element's color.
-
none
Produces no text decoration.
-
underline
Each line of text is underlined.
-
line-through
Each line of text has a line through the middle.
text-indent
This property specifies the indentation of the first line of text in a block container.
text-overflow
Determines how content that overflows its line is rendered, when overflow of its paragraph has a other value than visible.
See also:
text-shadow
Adds shadows to text.
-
<offset-x> <offset-y>
The offset of the shadow as lengths. These values are required.
-
<blur-radius>
The optional third length is the blur radius of the shadow.
-
<color>
The color of the shadow. If no color is specified, the current value of the color property is used.
text-transform
This property controls capitalization effects of an element's text.
-
capitalize
Puts the first character of each word in uppercase; other characters are unaffected.
-
uppercase
Puts all characters of each word in uppercase.
-
lowercase
Puts all characters of each word in lowercase.
-
none
No capitalization effects.
-ro-title
Sets the title in the metadata of the PDF document. Multiple values are concatenated to one string. (When applied to multiple elements the values are concatenated, separated by a comma.)
-
none
Does not set a title.
-
<string>
Sets the specified string as title.
-
content()
Sets the title from the content of the element.
-
-ro-attr(<attribute>)
Sets the title from the specified attribute of the element.
See also:
More information:
top
This property specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's containing block. For relatively positioned boxes, the offset is with respect to the top edges of the box itself (i.e., the box is given a position in the normal flow, then offset from that position according to these properties).
-
<length>
The offset is a fixed distance from the reference edge. Negative values are allowed.
-
The offset is a fixed distance from the reference edge. Negative values are allowed. <percentage>
The offset is a percentage of the containing block's height. Negative values are allowed.
-
auto
For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well. For replaced elements, the effect of this value depends on the intrinsic dimensions of the replaced content.
See also:
transform
This property contains a list of transform functions. The final transformation value for a coordinate system is obtained by converting each function in the list to its corresponding matrix, then multiplying the matrices.
A list of supported <transform-functions> can be found below.
-
matrix(<number>[, <number>]{5,5})
specifies a 2D transformation in the form of a transformation matrix of the six values a-f.
-
translate( <translation-value> [, <translation-value> ]? )
specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter. If <ty> is not provided, ty has zero as a value.
-
translateX( <translation-value> )
specifies a translation by the given amount in the X direction.
-
translateY( <translation-value> )
specifies a translation by the given amount in the Y direction.
-
scale( <number> [, <number> ]? )
specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it takes a value equal to the first. For example, scale(1, 1) would leave an element unchanged, while scale(2, 2) would cause it to appear twice as long in both the X and Y axes, or four times its typical geometric size.
-
scaleX( <number> )
specifies a 2D scale operation using the [sx,1] scaling vector, where sx is given as the parameter.
-
scaleY( <number> )
specifies a 2D scale operation using the [1,sy] scaling vector, where sy is given as the parameter.
-
rotate( <angle> )
specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property. For example, rotate(90deg) would cause elements to appear rotated one-quarter of a turn in the clockwise direction.
-
skew( <angle> [, <angle> ]? )
specifies a 2D skew by [ax,ay] for X and Y. If the second parameter is not provided, it has a zero value.
-
skewX( <angle> )
specifies a 2D skew transformation along the X axis by the given angle.
-
skewY( <angle> )
specifies a 2D skew transformation along the Y axis by the given angle.
-ro-transform
This property contains a list of transform functions. The final transformation value for a coordinate system is obtained by converting each function in the list to its corresponding matrix, then multiplying the matrices.
Deprecated!
transform-origin
This property defines the point of origin of transformations.
If only one value is specified, the second value is assumed to be center.
-
<percentage>
A percentage for the horizontal offset is relative to the width of the bounding box. A percentage for the vertical offset is relative to height of the bounding box. The value for the horizontal and vertical offset represent an offset from the top left corner of the bounding box.
-
<length>
A length value gives a fixed length as the offset. The value for the horizontal and vertical offset represent an offset from the top left corner of the bounding box.
-
top
Computes to 0% for the vertical position.
-
right
Computes to 100% for the horizontal position.
-
bottom
Computes to 100% for the vertical position.
-
left
Computes to 0% for the horizontal position.
-
center
Computes to 50% (left 50%) for the horizontal position if the horizontal position is not otherwise specified, or 50% (top 50%) for the vertical position if it is.
-ro-transform-origin
This property defines the point of origin of transformations. If only one value is specified, the second value is assumed to be center.
Deprecated!
-ro-truncate-margin-after-break
Defines the rules by which the margins of blocks at the beginning of a page, column or similar should be truncated to zero.
-
none
The margins are never truncated to zero.
-
auto
The behavior defined by the CSS specifications. The margins are truncated to zero if the page break has not been forced. The margin on the first page and after a forced break is preserved.
-
always
The margins of blocks at the top of a page are always truncated to zero. This is the behavior of PDFreactor prior to version 9.
unicode-bidi
This property relates to the handling of bidirectional text in a document.
-
normal
The element does not open an additional level of embedding with respect to the bidirectional algorithm. For inline elements, implicit reordering works across element boundaries.
-
embed
If the element is inline, this value opens an additional level of embedding with respect to the bidirectional algorithm. The direction of this embedding level is given by the 'direction' property. Inside the element, reordering is done implicitly. This corresponds to adding a LRE (U+202A; for 'direction: ltr') or RLE (U+202B; for 'direction: rtl') at the start of the element and a PDF (U+202C) at the end of the element.
-
bidi-override
For inline elements this creates an override. For block container elements this creates an override for inline-level descendants not within another block container element. This means that inside the element, reordering is strictly in sequence according to the 'direction' property; the implicit part of the bidirectional algorithm is ignored. This corresponds to adding a LRO (U+202D; for 'direction: ltr') or RLO (U+202E; for 'direction: rtl') at the start of the element or at the start of each anonymous child block box, if any, and a PDF (U+202C) at the end of the element.
See also:
More information:
vertical-align
This property affects the vertical positioning inside a line box of the boxes generated by an inline-level element.
-
baseline
Align the baseline of the box with the baseline of the parent box. If the box does not have a baseline, align the bottom margin edge with the parent's baseline.
-
middle
Align the vertical midpoint of the box with the baseline of the parent box plus half the x-height of the parent.
-
sub
Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.)
-
super
Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.)
-
text-top
Align the top of the box with the top of the parent's content area.
-
text-bottom
Align the bottom of the box with the bottom of the parent's content area.
-
<percentage>
Raise (positive value) or lower (negative value) the box by this distance (a percentage of the 'line-height' value). The value '0%' means the same as 'baseline'.
-
<length>
Raise (positive value) or lower (negative value) the box by this distance. The value '0cm' means the same as 'baseline'.
-
top
Align the top of the aligned subtree with the top of the line box.
-
bottom
Align the bottom of the aligned subtree with the bottom of the line box.
visibility
The 'visibility' property specifies whether the boxes generated by an element are rendered. Invisible boxes still affect layout (set the 'display' property to 'none' to suppress box generation altogether).
-
visible
The generated box is visible.
-
hidden
The generated box is invisible (fully transparent, nothing is drawn), but still affects layout. Furthermore, descendants of the element will be visible if they have 'visibility: visible'.
-
collapse
For table rows, columns, column groups, and row groups the rows or columns are hidden and do not occupy space, as if display: none were applied to them.
If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'.
white-space
This property declares how white space inside the element is handled.
-
normal
This value directs user agents to collapse sequences of white space, and break lines as necessary to fill line boxes.
-
pre
This value prevents user agents from collapsing sequences of white space. Lines are only broken at preserved newline characters.
-
nowrap
This value collapses white space as for 'normal', but suppresses line breaks within text.
-
pre-wrap
This value prevents user agents from collapsing sequences of white space. Lines are broken at preserved newline characters, and as necessary to fill line boxes.
-
pre-line
This value directs user agents to collapse sequences of white space. Lines are broken at preserved newline characters, and as necessary to fill line boxes.
widows
The 'widows' property specifies the minimum number of lines in a block container that must be left at the top of a page.
More information:
width
This property specifies the content width of boxes.
-
<length>
Specifies the width of the content area using a length unit.
-
<percentage>
Specifies a percentage width. The percentage is calculated with respect to the width of the generated box's containing block.
-
auto
The width depends on the values of other properties.
-ro-width
This property allows the automatic resizing of form controls according to
their content. If this property is set to auto, the form controls' width automatically adjusts according to its content.
More information:
word-spacing
Allows to modify the spacing between words.
-
normal
Spacing is not modified. Has the same effect as zero.
-
<length>
A positive length increases the spacing between words, a negative decreases it.
-
<percentage>
Modifies the spacing relatively to the width of a space (100% would double the space between words).
z-index
For a positioned box, the 'z-index' property specifies:
1. The stack level of the box in the current stacking context.
2. Whether the box establishes a stacking context.
-
<integer>
This integer is the stack level of the generated box in the current stacking context. The box also establishes a new stacking context.
-
auto
The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element.