首页
技术
登录
6mi
u
盘
搜
搜 索
技术
css div 画对角线
css div 画对角线
技术
2023-07-07
82
利用背景渐变实现从对角线
.out:before
{
position
:
absolute
;
content
:
' '
;
height
:
100%
;
width
:
100%
;
background
:
linear-gradient
(
to top right,white,white 48%, pink , white 51%,white
)
;
left
:
0
;
top
:
0
;
}
效果
转载请注明原文地址:https://ipadbbs.8miu.com/read-43054.html
最新回复
(
0
)