Open kandys opened 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>
<html>
<head>
<link rel="stylesheet" href="test.css">
</head>
<body>
<div class="gradient"><br><br><br><br></div>
</body>
</html>
We dont see gradient.
Thanks for your proposal!
Did you notice that CSS3 introduces gradients as image not as color?
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.