CSS-盒子设置内阴影box-shadow:inset

.box{
width: calc(100% - 96rpx);
			border-radius: 40rpx;
			padding: 60rpx 48rpx;
			box-shadow: inset 0 0 30rpx #d6e8ff;
			background-image: linear-gradient(155deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
}

 

box-shadow: inset 0 0 30rpx #d6e8ff;

效果:

 

 

posted @ 2024-02-20 18:29  MiniDuck  阅读(132)  评论(0编辑  收藏  举报