How To Make Part of Web View Slightly Translucent?

前端 未结 2 1274
遇见更好的自我
遇见更好的自我 2020-12-22 08:24

In Objective-C with Mac OSX Cocoa, is there any way to make a DIV on a WebView slightly translucent so that

2条回答
  •  天涯浪人
    2020-12-22 09:20

    Yes, just set the drawsBackground property of your WebView instance to NO, then make sure to fill the parts of the page you want opaque using CSS.

提交回复
热议问题