mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-08 07:41:04 +01:00
561bb6956b
- Enable the use of Skia instead of GDI for text rendering. - Add a new CefWindowInfo::m_bTransparentPainting member. - Add transparent popup window and off-screen rendering examples to cefclient. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@334 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
37 lines
810 B
HTML
37 lines
810 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<title>Transparency Examples</title>
|
|
<style type="text/css">
|
|
body {
|
|
font-family: Verdana, Arial;
|
|
}
|
|
img {
|
|
opacity:0.4;
|
|
}
|
|
img:hover {
|
|
opacity:1.0;
|
|
}
|
|
#transbox {
|
|
width: 300px;
|
|
margin: 0 50px;
|
|
background-color: #fff;
|
|
border: 2px solid black;
|
|
opacity: 0.3;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<h1>Image Transparency</h1>
|
|
Hover over an image to make it fully opaque.<br>
|
|
<img src="http://www.w3schools.com/css/klematis.jpg" width="150" height="113" alt="klematis" />
|
|
<img src="http://www.w3schools.com/css/klematis2.jpg" width="150" height="113" alt="klematis" />
|
|
|
|
<h1>Div Transparency</h1>
|
|
<div id="transbox">This is some text in a transparent box.</div>
|
|
</body>
|
|
</html>
|