Skip to content

gucong3000/transform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

transform v0.0.8

css3 transform for ie

transform是一个为IE6-8提供css3 transform属性功能的js库,它的使用非常简单

transform is a provider of css3 js library functions transform property for IE6-8, it's very simple to use

使用方式 Usage

jquery方式/jquery way:

<!--[if lte IE 8]>
	<script src="build/jquery.transform.js"></script>
<![endif]-->
<script>
jQuery(function($) {
    $(".test").css("transform", "rotate(45deg)");
});
</script>

或htc方式/Or htc way:

<style>
.test {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    behavior: url(build/transform.htc);
}
</style>

参考

Reference

  • CSS reference manual transform Detailed
  • css3please.com is an online tool for the preparation of small auxiliary css3
  • JQuery 1.8 or later built automatic processing css prefix (eg -webkit-, -moz-, etc.) functions, $(".someclass").css() method does not require a handwritten prefix.
  • Prefixfree is a prefix-free writing to let you realize css tool, it also has plug-ins let jQuery (1.8 or less) are also free prefix
  • Autoprefixer is an auto-complete when the prefix pre-programmed or compress css translation tool, with grunt plug, gulp plug and sublime plug

Releases

No releases published

Packages

No packages published