Can't draw linear gradient in block background
kandys opened this issue · 1 comments
kandys commented
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
Thanks for your proposal!
Did you notice that CSS3 introduces gradients as image not as color?