1. CSS Properties

PDFreactor supports the following CSS properties:

Table A.1. Supported CSS properties

PropertyAvailable values
background-attachmentscroll | fixed | inherit
background-color<color> | transparent | inherit
background-image<uri> | none | inherit
background-position[ [ <percentage> | left | center | right ] [ <percentage> | <length> | top | center | bottom ]? ] | [ [ left | center | right ] || [ top | center | bottom ] ] | inherit
background-repeatrepeat | repeat-x | repeat-y | no-repeat | inherit
border-collapsecollapse | separate | inherit
border-color[ <color> | transparent ]{1,4} | inherit
border-spacing<length> <length>? | inherit
border-style<border-style>{1,4} | inherit
border-top "border-right "border-bottom "border-left[ <border-width> || <border-style> || 'border-top-color' ] | inherit
border-top-color border-right-color border-bottom-color border-left-color<color> | transparent | inherit
border-top-style border-right-style border-bottom-style border-left-style<border-style> | inherit
border-top-width border-right-width border-bottom-width border-left-width<border-width> | inherit
border-width<border-width>{1,4} | inherit
bottom<length> | <percentage> | auto | inherit
clearnone | left | right | both | inherit
clip<shape> | auto | inherit
color<color> | inherit
contentnormal | none | [ <string> | <counter> | attr(<identifier>) ]+ | inherit

CSS3: target-counter(<identifier>) | target-counters(<identifier>) | target-text(<identifier>) | string(<identifier>) | leader(<identifier>)

counter-increment[ <identifier> <integer>? ]+ | none | inherit
counter-reset[ <identifier> <integer>? ]+ | none | inherit
displayinline | block | list-item | inline-block | table | inline-table | table-row-group | table-row | table-cell | none | inherit
floatleft | right | none | inherit
font[ [ 'font-style' || 'font-weight' ]? 'font-size' [ / 'line-height' ]? 'font-family' ] | inherit
font-family[[ <family-name> | <generic-family> ] [, <family-name>| <generic-family>]* ] | inherit
font-size<absolute-size> | <relative-size> | <length> | <percentage> | inherit
font-stylenormal | italic | oblique | inherit
font-variantnormal | small-caps | inherit
font-weightnormal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit
height<length> | <percentage> | auto | inherit
left<length> | <percentage> | auto | inherit
line-heightnormal | <number> | <length> | <percentage> | inherit
list-style[ 'list-style-type' || 'list-style-position' || 'list-style-image' ] | inherit
list-style-image<uri> | none | inherit
list-style-positioninside | outside | inherit
list-style-typebox | disc | circle | square | diamond | hyphen | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-greek | lower-latin | upper-latin | lower-alpha | upper-alpha | check | none | inherit
margin<margin-width>{1,4} | inherit
margin-right margin-left<margin-width> | inherit
margin-top margin-bottom<margin-width> | inherit
max-height<length> | <percentage> | none | inherit
max-width<length> | <percentage> | none | inherit
min-height<length> | <percentage> | inherit
min-width<length> | <percentage> | inherit
orphans<integer> | inherit
outline[ 'outline-color' || 'outline-style' || 'outline-width' ] | inherit
outline-color<color> | invert | inherit
outline-style<border-style> | inherit
outline-width<border-width> | inherit
overflowvisible | hidden
padding<padding-width>{1,4} | inherit
padding-top padding-right padding-bottom padding-left<padding-width> | inherit
pageauto | name
page-break-afterauto | always | avoid | left | right | inherit
page-break-beforeauto | always | avoid | left | right | inherit
page-break-insideavoid | auto | inherit
positionstatic | relative | absolute | fixed | inherit
right<length> | <percentage> | auto |inherit
table-layoutauto | fixed | inherit
text-alignleft | right | center | justify | inherit
text-decoration[ underline || line-through ]
text-indent<length> | <percentage> | inherit
text-transformcapitalize | uppercase | lowercase | none | inherit
top<length> | <percentage> | auto | inherit
vertical-alignbaseline | sub | super | top | text-top | middle | bottom | text-bottom | <percentage> | <length> | inherit
visibilityvisible | hidden | collapse | inherit
white-spacenormal | pre | nowrap | pre-wrap | pre-line | inherit
widows<integer> | inherit
width<length> | <percentage> | auto | inherit