当前位置:网站首页>~78 radial gradient

~78 radial gradient

2022-07-06 16:45:00 sanda_ nd

1、radial-gradient Radial Gradient ( Radioactive effects ), By default, the shape of the radial gradient center is calculated according to the shape of the element

Square --> circular

Rectangle --> ellipse

2、 You can manually specify the size of the radial gradient

circle( circular )

ellipse( The ellipse )

3、 You can specify the position of the gradient

grammar :radial-gradient( size at Location , Color Location , Color Location , Color Location )

size :circle circular 、ellipse The ellipse 、closest-side Near 、closest-corner near post 、farthest-side Far side

farthest-corner far post

Location :top、right、left、center、bottom


原网站

版权声明
本文为[sanda_ nd]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202131314371245.html