开发者

css background transparent

i need to create a pop up window in css which opens wh开发者_运维百科en we click a button or anything else. when that screen was open it should be a transparent one, so that the background text or images to that screen should be a viewable one when it was open(look like glass or mirror)....


In jQuery i use "Dialog" and modified css as below :

.ui-dialog { opacity: 0.9; }

or see jQuery UI dialog overlay


Use a semi-transparent png (including alpha) as the background image of your 'popup'.

.popup {
 background-image: url(images/SemiTransparentImageWithAlphaChannel.png);
}

Which works pretty much cross-browser (no IE6) and doesn't need CSS3

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜