明々's profile♥╮ωǒ┈→明々Dê素材小店۰•●❀BlogLists Tools Help

Blog


    November, 2005

    8.如何让图片有其他的效果

     
    在以前如使用背景图片一样要利用代码
    下面代码来自M1

    A.半透明合成:

    lordzhu代码:

    <img src="图片" style="filter:Alpha(■)">

    <div style="filter:Alpha(■) ;width:图宽;height:图高"><img src="图片"></div>

    B.诙谐、X光效果、色彩对换(互补色):

    HTML代码:

    诙谐:
    <img src="图片" style="filter:Gray">

    <div style="filter:Gray ;width:图宽;height:图高"><img src="图片"></div>

    X光效果:
    <img src="图片" style="filter:Xray">

    <div style="filter:Xray ;width:图宽;height:图高"><img src="图片"></div>

    色彩对换:
    <img src="图片" style="filter:Invert">

    <div style="filter:Invert ;width:图宽;height:图高"><img src="图片"></div>

    C.翻转:

    HTML代码:

    左右翻转:
    <img src="图片" style="filter:FlipH">

    <div style="filter:FlipH ;width:图宽;height:图高"><img src="图片"></div>

    上下翻转:
    <img src="图片" style="filter:FlipV">

    <div style="filter:FlipV ;width:图宽;height:图高"><img src="图片"></div>

    D.發光效果:

    HTML代码:

    <div style="filter:Glow(■);width:滤镜宽;height:滤镜高" align=center><br><img src="图片"></div>

    E.投射阴影效果:

    lordzhu代码:

    <div style="filter:Shadow(■);width:滤镜宽;height:滤镜高" align=center><br><img src="图片"></div>

    F.附阴影效果:

    HTML代码:

    <div style="filter:Dropshadow(■);width:滤镜宽;height:滤镜高" align=center><br><img src="图片"></div>

    G.模糊效果:

    HTML代码:

    <div style="filter:Blur(■);width:滤镜宽;height:滤镜高" align=center><br><img src="图片"></div>

    H.波形效果:

    HTML代码:

    <div style="filter:Wave(■);width:滤镜宽;height:滤镜高" align=center><br><img src="图片"></div>

     

    但是 现在我们有一个很好的"图片滤镜生成器"

    进入后 即可弄出以上所有的滤镜效果啦

    再次谢谢小绿人!

     

     

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks (1)

    The trackback URL for this entry is:
    http://ming521.spaces.live.com/blog/cns!D712F4529D7BA15!752.trak
    Weblogs that reference this entry