How to apply an opacity without affecting a child element with html/css?

前端 未结 12 2339
臣服心动
臣服心动 2020-11-29 04:12

I want to achieve this using html and css:

\"schema\"

I have tried to set the opacity of the container

12条回答
  •  日久生厌
    2020-11-29 04:22

    Using background-color: rgba(#777788, 0.3); instead of opacity could maybe fix the problem.

提交回复
热议问题