CSS PropertiesEdit online
Standard W3C CSS PropertiesEdit online
| Property | Supported Values | Unsupported Values | Notes |
|---|---|---|---|
| alignment-baseline | middle -oxy-first-line | You can use the -oxy-first-line value only for elements with a
display value of inline-block.By default, the baseline of the inline block is taken from its last line (if content wraps). By using the-oxy-first-line value, the baseline of the inline block is taken
from its first line. |
|
| background | |||
| background-color | |||
| background-image | |||
| background-position | |||
| background-repeat | |||
| background-size | length | percent | ||
| bookmark-label | |||
| bookmark-level | |||
| bookmark-state | |||
| border | |||
| border-bottom | |||
| border-bottom-color | |||
| border-bottom-style | |||
| border-bottom-width | |||
| border-collapse | separate | collapse | ||
| border-color | |||
| border-left | |||
| border-left-color | |||
| border-left-style | |||
| border-left-width | |||
| border-right | |||
| border-right-color | |||
| border-right-style | |||
| border-right-width | |||
| border-spacing | <length> | ||
| border-style | |||
| border-top | |||
| border-top-color | |||
| border-top-style | |||
| border-top-width | |||
| border-width | |||
| bottom-property | |||
| caption-side | top|bottom | left|right | |
| color | |||
| column-span | |||
| content | |||
| counter-increment | |||
| counter-reset | |||
| direction | |||
| display | inline|block|inline-block|table|table-row|table-cell|table-caption|table-row-group|table-header-group|table-footer-group|table-column |-oxy-morph |
For the display:none, the elements are not eliminated from the DOM, are just collapsed. The text may remain in the document, but is not visible. This is needed for keeping the links working. For -oxy-morph, read more here. |
|
| empty-cells | |||
| float | |||
| font | |||
| font-family | |||
| font-size | |||
| font-src | |||
| font-style | |||
| font-variant | small-caps|normal | Cannot be combined with the :first-letter pseudo-element or overflow-wrap: break-word CSS property. | |
| font-weight | |||
| height | |||
| image-resolution | <dpi> | ||
| left-property | |||
| letter-spacing | Discards the font ligatures. | ||
| line-height | |||
| list-style | |||
| list-style-image | none|url() | ||
| list-style-position | |||
| list-style-type | |||
| margin | |||
| margin-bottom | <length> | ||
| margin-left | auto|<length> | ||
| margin-right | auto|<length> | ||
| margin-top | <length> | ||
| max-height | <length> | ||
| max-width | <length> | ||
| min-height | <length> | ||
| min-width | <length> | Not supported for inline blocks and blocks. | |
| orphans | <number> | ||
| outline | |||
| outline-color | |||
| outline-style | |||
| outline-width | |||
| overflow-wrap | break-word | Limitations: Can be applied only on block-level elements (including tables), not on inline elements. Not supported for justified or hyphenated text paragraphs. | |
| padding | |||
| padding-bottom | |||
| padding-left | |||
| padding-right | |||
| padding-top | |||
| page | |||
| page-break-after | |||
| page-break-before | |||
| page-break-inside | |||
| position | fixed|absolute | relative | The absolute positioning is done relative to the direct parent. This is a limitation - CSS specifies that you can mark a parent block with position:relative, and absolute children will be placed relative to this. |
| right-property | |||
| size | |||
| string-set | content()|counter() | ||
| table-column-span | |||
| table-layout | fixed|auto | ||
| table-row-span | |||
| text-align | start|end|left|right|center|justify|justify-all | ||
| text-decoration | |||
| text-decoration-color | |||
| text-decoration-line | |||
| text-decoration-style | |||
| text-indent | |||
| text-transform | |||
| top-property | |||
| transform | |||
| transform-rotation | |||
| unicode-bidi | |||
| vertical-align | baseline | sub | super | text-top | text-bottom | middle | top | bottom | <length>|<percentage> | |
| visibility | |||
| white-space | normal | nowrap | pre | pre-wrap | ||
| widows | <number> | ||
| width | <length>|<percentage>|calc|fill | The fill value can be used only when the matched element has the
display value set to table-cell or table-column and
the parent table has the table-layout: auto value. It will keep all
columns to their minimums, distributing the rest of the space to the ones marked as
fillable (or containing fillable cells). |
Extension CSS PropertiesEdit online
| Property | Description | Supported Values |
|---|---|---|
| -oxy-alt-text | Used to specify an alternative description for the element that is used by the
PDF readers.
image {
-oxy-alt-text: "Image about: " attr(href);
} |
string |
| -oxy-borders-conditionality | This can be used to configure whether or not bottom and top borders appear on a
split element when a page break occurs. Supported values are:
td {
-oxy-borders-conditionality: retain;
} |
discard|retain|inherit |
| -oxy-caption-repeat-on-next-pages |
This can be used to enable table caption repetition on subsequent pages (when the
table is long and it spans multiple pages). It only affects elements with the
Also see the -oxy-show-only-when-caption-repeated-on-next-pages property that can be applied on optional caption static content. |
yes|no |
| -oxy-changebar-offset | Defines the distance between the text and the change bar. A positive distance is directed away from the column region and into the margin regardless of the -oxy-change-bar-placement. A negative distance is directed towards the content area. If this property is not specified, the 6pt default value is used. | <length> |
| -oxy-changebar-placement | This property determines where, relative to the column areas, the change bars will occur. | start | end | left | right | inside | outside | alternate |
| -oxy-changebar-color | Specifies the color of the change bar. | <color> |
| -oxy-changebar-style | Specifies the style of the change bar. Solid by default. | <border-style> |
| -oxy-changebar-width | Specifies the thickness of the change bar. | <border-width> |
| -oxy-column-break-after | This can be used to either force or eliminate a column break between the matching
element and the next sibling. Supported values are: always - to force
the column break, or avoid - to keep the end of the matching element
together with the next sibling beginning in the same column. |
always|auto|avoid |
| -oxy-column-break-before | This can be used to either force or eliminate a column break between the matching
element and the previous sibling. Supported values are: always - to
force the column break, or avoid - to keep the end of the previous
sibling together with the beginning of the matching element in the same
column. |
always|auto|avoid |
| -oxy-column-break-inside | This can be used to avoid column breaks inside the matching element. Use with care, if the element has large content, it may bleed out of the page. | always|auto |
| -oxy-force-page-count | Used to impose a constraint on the number of pages in a page sequence. If this
constraint is not satisfied, an additional page will be added to the end of the
sequence. This page becomes the "last" page of that
sequence.@page chapter-page {
-oxy-initial-page-number: auto-odd;
} |
auto|evenodd|end-on-even|end-on-odd|no-force|inherit |
| -oxy-hyphenation-character | Used to specify the Unicode character to be presented when a hyphenation break
occurs. To hide hyphens, use the space
character.pre {
-oxy-hyphenation-character: " ";
} |
<character>|inherit |
| -oxy-hyphenation-push-character-count | Used to specify the minimum number of characters in a hyphenated word after the
hyphenation character (the minimum number of characters in the word pushed to the next
line).p {
-oxy-hyphenation-push-character-count: "2";
} |
<number>|inherit |
| -oxy-hyphenation-remain-character-count | Used to specify the minimum number of characters in a hyphenated word before the
hyphenation character (the minimum number of characters in the word left on the line
ending with the hyphenation
character).p {
-oxy-hyphenation-remain-character-count: "2";
} |
<number>|inherit |
| -oxy-initial-page-number | Used to set the initial page number to be used on this particular page
sequence.@page chapter-page {
-oxy-initial-page-number: auto-odd;
} |
auto|auto-odd|auto-even|<number>|inherit |
| -oxy-link | Used to create links in the PDF
output.link {
-oxy-link: attr(href);
} |
none|url() |
| -oxy-page-group | Using the start value forces the creation of a new page group (sequence)
even if the page before the element has the same name. The auto value uses the
W3C algorithm normally, which would merge the current element with the open page
sequence.chapter {
-oxy-page-group:start;
page: chapter;
} |
start|auto |
| -oxy-pdf-meta-author | Used to forward meta-information to the PDF. Represents the author of the
publication.meta[name='author'] {
-oxy-pdf-meta-author: attr(value);
} |
string |
| -oxy-pdf-meta-custom | Used to forward meta-information to the PDF. Represents a generic custom document
property. Should have two strings, the name and the
value.metadata {
-oxy-pdf-meta-custom: attr(name) attr(value);
} |
string |
| -oxy-pdf-meta-description | Used to forward meta-information to the PDF. Represents the description of the
publication.
meta[name='description'] {
-oxy-pdf-meta-description: attr(value);
} |
string |
| -oxy-pdf-meta-keyword | Used to forward meta-information to the PDF. Represents a single keyword from the
publication. The processor should aggregate all keyword definitions and separate them
by
comma.keyword {
-oxy-pdf-meta-keyword: content(text);
} |
string |
| -oxy-pdf-meta-keywords | Used to forward meta-information to the PDF. Represents the keywords of the
publication. The value should contain the keywords separated by
commas.meta[name='keywords'] {
-oxy-pdf-meta-keywords: attr(value);
} |
string |
| -oxy-pdf-meta-title | Used to forward meta-information to the PDF. Represents the title of the
publication.
meta[name='title'] {
-oxy-pdf-meta-title: attr(value);
} |
string |
| -oxy-pdf-tag-type | Maps an element to a PDF accessibility tag.
section {
-oxy-pdf-tag-type: "Sect";
} |
string |
| -oxy-simulate-style |
Set this flag to yes when the styles (bold, italic, or both) need to be simulated from a regular font. See: Using Simulated (Synthetic) Styles. |
yes|no |
| -oxy-style | An Oxygen extension used to define additional styles for an element (for example,
collected from an attribute).
div {
font-weight:bold;
color:red;
-oxy-style:attr(style);
}The
value of the style attribute from the div element is parsed as a collection of CSS
properties and applied over the current element styles. For instance, if the style
attribute has the value color:green; border: 1pt solid red, it will
combine with the existing properties, resulting
in:font-weight:bold;
color:green;
border: 1pt solid red |
CSS fragment |
| -oxy-show-only-when-caption-repeated-on-next-pages |
This property only affects a |
yes|no |