Tip: you can modify some code before running
<html><head><title>How to make the image translucent</title><meta content="text/html; charset=gb2312" http-equiv="Content-Type"><style type="TEXT/CSS">. Cool {BORDER-BOTTOM-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px; BORDER-TOP-WIDTH: 1px; CURSOR: hand; FONT-SIZE: 9pt} A {TEXT-DECORATION: none} A: hover {COLOR: # ff9900; TEXT-DECORATION: underline} TD {FONT-SIZE: 9pt; LINE-HEIGHT: 13pt} TH {FONT-SIZE: 9pt; LINE-HEIGHT: 13pt} BODY {FONT-SIZE: 9pt; LINE-HEIGHT: 13pt }. tm {FILTER: Alpha (Opacity = 50 )}. style2 {FILTER: Alpha (Style = 2 )}. style1 {FILTER: Alpha (Style = 1, StartX = 30, StartY = 20, FinishX = 15, FinishY = 5 )}</style><meta content="Microsoft FrontPage 6.0" name="GENERATOR"></head><body bgColor="#ffffff" link="#6699FF" vLink="#6699CC"><center><table cellPadding="0" cellSpacing="0" width="484"><TBODY> <tr vAlign="top"> <td width="490"><table cellPadding="0" cellSpacing="0" width="100%"><TBODY> <tr> <td vAlign="top" width="397"> <div id="Layer1" > <dd> </dd> </div> <script>//这是使图层移动的函数function move_layer(){Layer1.style.left=event.clientX+document.body.scrollLeft+10;Layer1.style.top=event.clientY+document.body.scrollTop+10;}//这里的意思是,如果鼠标移动时就调用"move_layer"函数document.onmousemove =move_layer; </script></td> </tr></tBODY> </table> </td> </tr> <tr> <td vAlign="top" width="490"> <table cellPadding="0" cellSpacing="0" width="392"><TBODY> <tr> <td height="1" vAlign="top" width="3"></td> <td vAlign="top" width="11"></td> <td height="22" vAlign="top" width="487"> <table cellPadding="0" cellSpacing="0" class="hs" width="487" height="269"><TBODY> <tr align="middle"> <td height="33" colspan="3" width="485" valign="bottom"> <p align="center"><font size="2" color="#FF0000">How to make the image translucent</font></p> </td> </tr> <tr vAlign="top"> <td width="185" height="236">I often see translucent images on the Internet! The image will not block the text behind it. Do you want to know how to do it? It is very simple. This is the powerful function of the CSS style form filter Alpha. It only uses a few lines of code, you can see a translucent image!<br>This image is used:<br>In order to see the effect more clearly. Let's move the image to the mouse! CSS styles are used to produce translucent effects!<br> </td> <td width="68" height="236"> </td> <td width="228" height="236">First effect:<font color="#006666">Alpha (Style = 1, StartX = 30, StartY = 20, FinishX = 15, FinishY = 5)</font><br> <br> <br>The second effect.<font color="#006666">Alpha (Style = 2)</font> <br> <br>Try other parameters yourself!<br> <br> </td> </tr> </tBODY> </table> </td> </tr> </tBODY> </table> </td> </tr> <tr align="right"> <td width="490"></td> </tr> </table> <p align="center"></p> </center></body></html>
Tip: you can modify some code before running