modify document

This commit is contained in:
ysk2014
2020-10-08 09:10:27 +08:00
parent 1dcd17b408
commit fc8c95ea74

View File

@@ -1,85 +1,87 @@
--- ---
title: "Features" title: 'Features'
description: "Discover the different features supported by html2canvas" description: 'Discover the different features supported by html2canvas'
--- ---
Below is a list of all the supported CSS properties and values. Below is a list of all the supported CSS properties and values.
- background - background
- background-clip (**Does not support `text`**) - background-clip (**Does not support `text`**)
- background-color - background-color
- background-image - background-image
- url() - url()
- linear-gradient() - linear-gradient()
- radial-gradient() - radial-gradient()
- background-origin - background-origin
- background-position - background-position
- background-size - background-size
- border - border
- border-color - border-color
- border-radius - border-radius
- border-style (**Only supports `solid`**) - border-style (**Only supports `solid`**)
- border-width - border-width
- bottom - bottom
- box-sizing - box-sizing
- content - content
- color - color
- display - display
- flex - filter
- float - flex
- font - float
- font-family - font
- font-size - font-family
- font-style - font-size
- font-variant - font-style
- font-weight - font-variant
- height - font-weight
- left - height
- letter-spacing - left
- line-break - letter-spacing
- list-style - line-break
- list-style-image - list-style
- list-style-position - list-style-image
- list-style-type - list-style-position
- margin - list-style-type
- max-height - margin
- max-width - max-height
- min-height - max-width
- min-width - min-height
- opacity - min-width
- overflow - opacity
- overflow-wrap - overflow
- padding - overflow-wrap
- position - padding
- right - position
- text-align - right
- text-decoration - text-align
- text-decoration-color - text-decoration
- text-decoration-line - text-decoration-color
- text-decoration-style (**Only supports `solid`**) - text-decoration-line
- text-shadow - text-decoration-style (**Only supports `solid`**)
- text-transform - text-shadow
- top - text-stroke
- transform (**Limited support**) - text-transform
- visibility - top
- white-space - transform (**Limited support**)
- width - visibility
- word-break - white-space
- word-spacing - width
- word-wrap - word-break
- z-index - word-spacing
- word-wrap
- z-index
## Unsupported CSS properties ## Unsupported CSS properties
These CSS properties are **NOT** currently supported
- [background-blend-mode](https://github.com/niklasvh/html2canvas/issues/966)
- [border-image](https://github.com/niklasvh/html2canvas/issues/1287)
- [box-decoration-break](https://github.com/niklasvh/html2canvas/issues/552)
- [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)
- [mix-blend-mode](https://github.com/niklasvh/html2canvas/issues/580)
- [object-fit](https://github.com/niklasvh/html2canvas/issues/1064)
- [repeating-linear-gradient()](https://github.com/niklasvh/html2canvas/issues/1162)
- [writing-mode](https://github.com/niklasvh/html2canvas/issues/1258)
- [zoom](https://github.com/niklasvh/html2canvas/issues/732)
These CSS properties are **NOT** currently supported
- [background-blend-mode](https://github.com/niklasvh/html2canvas/issues/966)
- [border-image](https://github.com/niklasvh/html2canvas/issues/1287)
- [box-decoration-break](https://github.com/niklasvh/html2canvas/issues/552)
- [box-shadow](https://github.com/niklasvh/html2canvas/pull/1086)
- [font-variant-ligatures](https://github.com/niklasvh/html2canvas/pull/1085)
- [mix-blend-mode](https://github.com/niklasvh/html2canvas/issues/580)
- [object-fit](https://github.com/niklasvh/html2canvas/issues/1064)
- [repeating-linear-gradient()](https://github.com/niklasvh/html2canvas/issues/1162)
- [writing-mode](https://github.com/niklasvh/html2canvas/issues/1258)
- [zoom](https://github.com/niklasvh/html2canvas/issues/732)