We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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>
<html>
<head>
<link rel="stylesheet" href="test.css">
</head>
<body>
<div class="gradient"><br><br><br><br></div>
</body>
</html>
We dont see gradient.
The text was updated successfully, but these errors were encountered:
Draw linear gradient in block background
167360b
We can draw linear gradient with 3 parameters: background-color: linear-gradient(to top, #ffffff, #6699ff); background-color: linear-gradient(to bottom, green, silver); background-color: linear-gradient(0deg, red, blue); Fix BerndGabriel#307
Thanks for your proposal!
Did you notice that CSS3 introduces gradients as image not as color?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
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.
The text was updated successfully, but these errors were encountered: