CSS RGBA border / background alpha double

后端 未结 3 1193
情话喂你
情话喂你 2020-12-25 12:34

I\'m working on a website that has a lot of transparency involved, and I thought I would try to build it entirely in RGBA and then do fallbacks for IE. I need a \"facebox\"

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-25 13:08

    You can use the new background-clip: padding-box; property to get this going. It calculates where from should the background start within a box. For more details and examples, check here

提交回复
热议问题