iFixPng improved

码农软件 · 软件分类 · jQuery图像处理 · 2019-12-26 22:42:37

软件介绍

This plugin is an improvement to the original iFixPng plugin. It may use some more resources and work slower, but there are some important improvements:

  • The image or element with a background image doesn't have to be visible.
  • background-position is now supported, including an IE absolute position fix. (bottom: -1px || bottom: 0px)

Update

  • Since 3.1.0 background-position in percentages is fully supported. See the demo page for a demonstration.

Any improvements to speed or functionality are welcome. For as long as IE6 will be around, we need to tackle this problem together.

The unfix method was removed.

Usage:

 

// Set the transparent pixel
jQuery.ifixpng('/images/pixel.gif');
jQuery('img, .bgPng').ifixpng();

 

note! When using jquery versions older than 1.2.6, please make sure to use the dimensions plugin, as the plugin relies on the outerWidth / outerHeight methods.

Known issues:

  • Background-repeat is not supported.

本文地址:https://codercto.com/soft/d/22031.html

Unity Shader入门精要

Unity Shader入门精要

冯乐乐 / 人民邮电出版社 / 2016-5-1 / CNY 69.00

本书不仅要教会读者如何使用Unity Shader,更重要的是要帮助读者学习Unity中的一些渲染机制以及如何使用Unity Shader实现各种自定义的渲染效果,希望这本书可以为读者打开一扇新的大门,让读者离制作心目中杰出游戏的心愿更近一步。 本书的主要内容为:第1章讲解了学习Unity Shader应该从哪里着手;第2章讲解了现代GPU是如何实现整个渲染流水线的,这对理解Shader的工......一起来看看 《Unity Shader入门精要》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换