css cancels the last style of the pseudo class

Use the border drawn by the pseudo class to remove the last one.

 

&:not(:last-child)::after{
				content: '';
				height: 4upx;
				position: absolute;
				background-color: #efefef;
				width: 110%;
				bottom: 0;
				left: 50%;
				transform: translateX(-50%);
			}

Guess you like

Origin blog.csdn.net/weixin_38982591/article/details/125164269