danfickle / danfickle/openhtmltopdf

linear-gradient without gradation do gradation

Open
#674 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
2.2k
Forks
423
PR merge metrics
No merged PRs in 30d

Description

```html


linear-gradient

div {
height: 100px;
background-image: linear-gradient(45deg, blue 50%, red 50%);
}

```

With the previous code, in the [browsers](https://jsbin.com/sahapekace/edit?html,output) the passage from blue to red is short:
![browser](https://user-images.githubusercontent.com/1262990/111954186-fe180e80-8ae7-11eb-993f-2a8d061275da.png)

Openhtmltopdf generates a PDF with a gradation:
![openhtmltopdf](https://user-images.githubusercontent.com/1262990/111954210-05d7b300-8ae8-11eb-989c-6e98abf6a15b.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.