zoukankan      html  css  js  c++  java
  • (转)ie -ms-interpolation-mode: bicubic 属性详解

    ie -ms-interpolation-mode: bicubic 属性详解
     img { -ms-interpolation-mode: bicubic; }
    这个在做实时缩放图片、缩略图的时候用处挺大。IE7 Only
     
     
    IE7.0自带样式属性-ms-interpolation-mode
     
     
    刚过完火星,从骨灰级哪里淘到的沙子。
     
    以前很少写样式的体验,今天来了兴致,那就给大伙共享一下。
     
    也不管是否还有火星鸡
     
    iE7.0中自带的-ms-interpolation-mode属性可以解决缩放失真问题
     
    如下是测试代码
     
    .img01,.img02,.img03{float:left;padding:0 5px;text-align:center;}
    .img01{-ms-interpolation-mode:Nearest-Neighbor}
    .img02{-ms-interpolation-mode:normal;}
    .img03{-ms-interpolation-mode:bicubic}
     
    ps:不过这也与图的大小,有关系,500以上的再定义放大,可能明显,小图再放大,好像不太明显
     
    ps:好像很少用到这个属性,再者,他只是ie的自带属性
  • 相关阅读:
    一个可以用的句子
    QQ通讯协议分析
    do easy get
    WCF 实例模式和对象生命周期
    c# FTP操作类
    [OAuth] 翻译 前4章
    [OAuth] 翻译 第5章
    HttpRequest 生命周期
    [ WebGL系列 ] 1 什么webgl
    SQL Server 问题集 不断更新
  • 原文地址:https://www.cnblogs.com/wanshutao/p/3963787.html
Copyright © 2011-2022 走看看