Applied Visual Design: Create a Gradual CSS Linear Gradient background: linear-gradient(gradient_direction, color 1, color 2, color 3, ...) The first argument specifies the direction from which color transition starts - it can be stated as a degree
本文是作者从别的网站和文章学习了解的知识,简单做了个笔记,想要学习更多的可以参考这里:[css进阶]伪元素的妙用--单标签之美,奇思妙想 (弧形切角矩形) 代码: width: 180px; height:180px; } .arc { background: radial-gradient(circle at top left, transparent 15px, yellowgreen 0) top left, radial-gradient(circle at top right, tra