为什么线性梯度不起作用,即使它在我正在查看的教程中有效

Why is Linear gradient is not working for even though it works in the tutorial I am viewing

提问人:Binah 提问时间:3/14/2023 更新时间:3/14/2023 访问量:9

问:

线性渐变不起作用。这些代码在教程中工作,但它没有使用带有 scss 样式和引导程序的 Angular 项目。t work for me. I had to add a fallback. What is wrong with my code? It

html, body {
    background-color: $turquoise;
    background: linear-gradient(to top right, $turquoise, $blue);
}

SCSS-棉绒

评论


答: 暂无答案