Disable opacity on child element when parent element has opacity

后端 未结 6 1987
灰色年华
灰色年华 2020-12-05 06:30

I have a container with an opacity of 0.8. At the background, I have an image that shines through the content div. Now, I have a photo of my client in this

6条回答
  •  长情又很酷
    2020-12-05 07:13

    Use background: rgba(red,green,blue,alpha) may be a good solution ,but,when you use with disabled attribute , you may find it does not work any more in iPhone .

提交回复
热议问题