how to handle 'double opacity' of two overlapping divs

前端 未结 5 1096
时光取名叫无心
时光取名叫无心 2021-01-23 16:19

I have two divs, both with 0.6 opacity. I need them to overlap but retain their opacity and not create a new combined opacity level. I can\'t use an image.

EDIT -- The

5条回答
  •  北恋
    北恋 (楼主)
    2021-01-23 17:22

    I think the only way would be to do the opacity separately,

    e.g. http://dabblet.com/gist/1566278

提交回复
热议问题