modify document

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

View File

@ -1,11 +1,11 @@
--- ---
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
@ -15,71 +15,73 @@ Below is a list of all the supported CSS properties and values.
- 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
- font-family - font-family
- font-size - font-size
- font-style - font-style
- font-variant - font-variant
- font-weight - font-weight
- height - height
- left - left
- letter-spacing - letter-spacing
- line-break - line-break
- list-style - list-style
- list-style-image - list-style-image
- list-style-position - list-style-position
- list-style-type - list-style-type
- margin - margin
- max-height - max-height
- max-width - max-width
- min-height - min-height
- min-width - min-width
- opacity - opacity
- overflow - overflow
- overflow-wrap - overflow-wrap
- padding - padding
- position - position
- right - right
- text-align - text-align
- text-decoration - text-decoration
- text-decoration-color - text-decoration-color
- text-decoration-line - text-decoration-line
- text-decoration-style (**Only supports `solid`**) - text-decoration-style (**Only supports `solid`**)
- text-shadow - text-shadow
- text-transform - text-stroke
- top - text-transform
- transform (**Limited support**) - top
- visibility - transform (**Limited support**)
- white-space - visibility
- width - white-space
- word-break - width
- word-spacing - word-break
- word-wrap - word-spacing
- z-index - 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)