热门搜索组件中的样式问题
来源:10-3 组件开发:热门搜索词组件

therapists
2020-11-05
请问:
background-position-x: right, right;
background-position-y: bottom, top;
这种样式是什么意思?
能解释一下吗 谢谢!
写回答
1回答
-
艾特老干部
2020-11-13
background-image: linear-gradient(0, #e1e1e1, #e1e1e1 50%, transparent 50%),
linear-gradient(90deg, #e1e1e1, #e1e1e1 50%, transparent 50%);
background-position-x: right, right;
background-position-y: bottom, top;
如上所示,background-image 有2个图片组成,background-position-x 的两个值,分别对应每个图片的x轴方向的设置。
00
相似问题