Skip to content

Instantly share code, notes, and snippets.

@zz-james
Last active January 3, 2016 17:39

Revisions

  1. zz-james revised this gist Jan 18, 2014. 7 changed files with 7 additions and 41 deletions.
    2 changes: 1 addition & 1 deletion transform_.idea_.name
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    transform
    h
    6 changes: 1 addition & 5 deletions transform_.idea_encodings.xml
    Original file line number Diff line number Diff line change
    @@ -1,5 +1 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <project version="4">
    <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
    </project>

    h
    6 changes: 1 addition & 5 deletions transform_.idea_misc.xml
    Original file line number Diff line number Diff line change
    @@ -1,5 +1 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <project version="4">
    <component name="ProjectRootManager" version="2" />
    </project>

    h
    10 changes: 1 addition & 9 deletions transform_.idea_modules.xml
    Original file line number Diff line number Diff line change
    @@ -1,9 +1 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <project version="4">
    <component name="ProjectModuleManager">
    <modules>
    <module fileurl="file://$PROJECT_DIR$/.idea/transform.iml" filepath="$PROJECT_DIR$/.idea/transform.iml" />
    </modules>
    </component>
    </project>

    h
    6 changes: 1 addition & 5 deletions transform_.idea_scopes_scope_settings.xml
    Original file line number Diff line number Diff line change
    @@ -1,5 +1 @@
    <component name="DependencyValidationManager">
    <state>
    <option name="SKIP_IMPORT_STATEMENTS" value="false" />
    </state>
    </component>
    h
    10 changes: 1 addition & 9 deletions transform_.idea_transform.iml
    Original file line number Diff line number Diff line change
    @@ -1,9 +1 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <module type="WEB_MODULE" version="4">
    <component name="NewModuleRootManager">
    <content url="file://$MODULE_DIR$" />
    <orderEntry type="inheritedJdk" />
    <orderEntry type="sourceFolder" forTests="false" />
    </component>
    </module>

    h
    8 changes: 1 addition & 7 deletions transform_.idea_vcs.xml
    Original file line number Diff line number Diff line change
    @@ -1,7 +1 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <project version="4">
    <component name="VcsDirectoryMappings">
    <mapping directory="" vcs="" />
    </component>
    </project>

    h
  2. zz-james created this gist Jan 18, 2014.
    1 change: 1 addition & 0 deletions transform_.idea_.name
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    transform
    5 changes: 5 additions & 0 deletions transform_.idea_encodings.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <project version="4">
    <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
    </project>

    5 changes: 5 additions & 0 deletions transform_.idea_misc.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <project version="4">
    <component name="ProjectRootManager" version="2" />
    </project>

    9 changes: 9 additions & 0 deletions transform_.idea_modules.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <project version="4">
    <component name="ProjectModuleManager">
    <modules>
    <module fileurl="file://$PROJECT_DIR$/.idea/transform.iml" filepath="$PROJECT_DIR$/.idea/transform.iml" />
    </modules>
    </component>
    </project>

    5 changes: 5 additions & 0 deletions transform_.idea_scopes_scope_settings.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    <component name="DependencyValidationManager">
    <state>
    <option name="SKIP_IMPORT_STATEMENTS" value="false" />
    </state>
    </component>
    9 changes: 9 additions & 0 deletions transform_.idea_transform.iml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <module type="WEB_MODULE" version="4">
    <component name="NewModuleRootManager">
    <content url="file://$MODULE_DIR$" />
    <orderEntry type="inheritedJdk" />
    <orderEntry type="sourceFolder" forTests="false" />
    </component>
    </module>

    7 changes: 7 additions & 0 deletions transform_.idea_vcs.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <project version="4">
    <component name="VcsDirectoryMappings">
    <mapping directory="" vcs="" />
    </component>
    </project>

    15 changes: 15 additions & 0 deletions transform_index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    <!DOCTYPE html>
    <html>
    <head>
    <title>transform</title>
    <style>

    #t1 {width:100px; /*line length*/ height:1px; /*line thickness*/}
    #t2 {width:1px; /*line thickness*/ height:100px; /*line length*/ }
    </style>
    </head>
    <body>
    <div id='t1' class='transform'></div>
    <div id='t2' class='transform'></div>
    </body>
    </html>
    12 changes: 12 additions & 0 deletions transform_transform.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    .transform{

    background:#000;
    transform-origin: 0 0;
    transform: matrix(1,0, 0,1, 100,100);
    }
    /* matrix (a, b, d, e, c, f); */
    /*
    [ x ] = ax + by + c [ a, b, c ] [a, b, d]
    [ y ] = dx + ey + f [ d, e, f ] [e, c, f]
    [ 1 ] [ 0, 0, 1 ]
    */