html2canvas/docs/features.md
2017-12-12 20:57:48 +08:00

1.8 KiB

title description
Features Discover the different features supported by html2canvas

Below is a list of all the supported CSS properties and values.

  • background
    • background-clip (Does not support text)
    • background-color
    • background-image
      • url()
      • linear-gradient()
      • radial-gradient()
    • background-origin
    • background-position
    • background-size
  • border
    • border-color
    • border-radius
    • border-style (Only supports solid)
    • border-width
  • bottom
  • box-sizing
  • content (Does not support attr())
  • color
  • display
  • flex
  • float
  • font
    • font-family
    • font-size
    • font-style
    • font-variant
    • font-weight
  • height
  • left
  • letter-spacing
  • margin
  • max-height
  • max-width
  • min-height
  • min-width
  • opacity
  • overflow
  • padding
  • position
  • right
  • text-align
  • text-decoration
    • text-decoration-color
    • text-decoration-line
    • text-decoration-style (Only supports solid)
  • text-shadow
  • text-transform
  • top
  • transform (Limited support)
  • visibility
  • white-space
  • width
  • word-spacing
  • z-index

Unsupported CSS properties

These CSS properties are NOT currently supported