BerndGabriel / HtmlViewer

The well-known Delphi/Lazarus HtmlViewer/FrameViewer
Other
395 stars 147 forks source link

Can't draw linear gradient in block background #307

Open kandys opened 2 years ago

kandys commented 2 years ago

test.css .gradient { background-color: linear-gradient(to top, red, blue); }

test.html <html> <html> <head> <link rel="stylesheet" href="test.css"> </head> <body> <div class="gradient"><br><br><br><br></div> </body> </html>

We dont see gradient.

BerndGabriel commented 2 years ago

Thanks for your proposal!

Did you notice that CSS3 introduces gradients as image not as color?