border需要设置透明度时,用box-shadow要比用border:5px solid rgba()设置的透明度更高。 转载于:https://www.cnblogs.com/niujie/p/6212670.html