2017-12-07 18:49:40 +03:00
|
|
|
---
|
|
|
|
title: "Features"
|
2017-12-10 11:43:34 +03:00
|
|
|
description: "Discover the different features supported by html2canvas"
|
2017-12-07 18:49:40 +03:00
|
|
|
---
|
|
|
|
|
|
|
|
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()
|
2017-12-12 15:57:48 +03:00
|
|
|
- radial-gradient()
|
2017-12-07 18:49:40 +03:00
|
|
|
- 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
|
2017-12-09 12:46:07 +03:00
|
|
|
- max-height
|
|
|
|
- max-width
|
|
|
|
- min-height
|
|
|
|
- min-width
|
2017-12-07 18:49:40 +03:00
|
|
|
- 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
|
|
|
|
- [background-blend-mode](https://github.com/niklasvh/html2canvas/issues/966)
|
2017-12-09 12:46:07 +03:00
|
|
|
- [border-image](https://github.com/niklasvh/html2canvas/issues/1287)
|
2017-12-12 17:32:20 +03:00
|
|
|
- [box-decoration-break](https://github.com/niklasvh/html2canvas/issues/552)
|
2017-12-07 18:49:40 +03:00
|
|
|
- [box-shadow](https://github.com/niklasvh/html2canvas/pull/1086)
|
|
|
|
- [filter](https://github.com/niklasvh/html2canvas/issues/493)
|
|
|
|
- [font-variant-ligatures](https://github.com/niklasvh/html2canvas/pull/1085)
|
2017-12-12 17:32:20 +03:00
|
|
|
- [mix-blend-mode](https://github.com/niklasvh/html2canvas/issues/580)
|
|
|
|
- [object-fit](https://github.com/niklasvh/html2canvas/issues/1064)
|
2017-12-07 18:49:40 +03:00
|
|
|
- [list-style](https://github.com/niklasvh/html2canvas/issues/177)
|
2017-12-10 17:28:34 +03:00
|
|
|
- [repeating-linear-gradient()](https://github.com/niklasvh/html2canvas/issues/1162)
|
2017-12-07 18:49:40 +03:00
|
|
|
- word-break
|
2017-12-12 17:32:20 +03:00
|
|
|
- [word-wrap](https://github.com/niklasvh/html2canvas/issues/664)
|
2017-12-07 18:49:40 +03:00
|
|
|
- [writing-mode](https://github.com/niklasvh/html2canvas/issues/1258)
|
2017-12-12 17:32:20 +03:00
|
|
|
- [zoom](https://github.com/niklasvh/html2canvas/issues/732)
|
2017-12-07 18:49:40 +03:00
|
|
|
|