随笔

  background: rgba(0,0,0,0.4);

  用rgba()做透明的背景,子元素不会继承透明

  opacity做透明背景,子元素会继承透明

 

posted @ 2019-08-27 10:06  伊优  阅读(123)  评论(0)    收藏  举报