html2canvas/docs/features.md

88 lines
2.1 KiB
Markdown
Raw Permalink Normal View History

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()
- background-origin
2017-12-07 18:49:40 +03:00
- background-position
- background-size
2017-12-07 18:49:40 +03:00
- border
- border-color
- border-radius
2021-07-04 09:12:48 +03:00
- border-style
2017-12-07 18:49:40 +03:00
- border-width
- bottom
- box-sizing
- content
2017-12-07 18:49:40 +03:00
- color
- display
- flex
- float
- font
- font-family
- font-size
- font-style
- font-variant
- font-weight
- height
- left
- letter-spacing
2017-12-30 19:12:28 +03:00
- line-break
2017-12-21 19:07:10 +03:00
- list-style
- list-style-image
- list-style-position
- list-style-type
2017-12-07 18:49:40 +03:00
- 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
2017-12-30 19:12:28 +03:00
- overflow-wrap
2017-12-07 18:49:40 +03:00
- padding
- paint-order
2017-12-07 18:49:40 +03:00
- position
- right
- text-align
- text-decoration
- text-decoration-color
- text-decoration-line
- text-decoration-style (**Only supports `solid`**)
- text-shadow
- text-transform
2017-12-07 18:49:40 +03:00
- top
- transform (**Limited support**)
- visibility
- white-space
- width
- webkit-text-stroke
2017-12-30 19:12:28 +03:00
- word-break
2017-12-07 18:49:40 +03:00
- word-spacing
2017-12-30 19:12:28 +03:00
- word-wrap
2017-12-07 18:49:40 +03:00
- z-index
2017-12-07 18:49:40 +03:00
## 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-10 17:28:34 +03:00
- [repeating-linear-gradient()](https://github.com/niklasvh/html2canvas/issues/1162)
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