background: rgba(255,255,255,0.6);容器本身透明度变化,它包含的子容器的透明度不变。 opacity:0.6;容器及容器包含的子容器的透明度都会发生变化。 转载于:https://www.cnblogs.com/darkterror/p/5481312.html