This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Favicon and Apple Touch Icon Generator | |
# | |
# This bash script takes an image as a parameter, and uses ImageMagick to convert it to several | |
# other formats used on modern websites. The following copies are generated: | |
# | |
# * apple-touch-icon-114x114-precomposed.png | |
# * apple-touch-icon-57x57-precomposed.png | |
# * apple-touch-icon-72x72-precomposed.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Just for fun™: Flickr spinner in pure CSS | |
*/ | |
@keyframes move { | |
to { left: 50%; } | |
} | |
@keyframes cover { | |
from,49.9% { z-index: 1 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Testing z-index in IE9 using IE7 compat mode | |
*/ | |
.wrapper { position: relative; z-index: 1; width: 200px; height: 100px;} | |
.container { position:relative; z-index: auto; width: 200px; height: 100px; border: 1px solid blue; background-color: blue;} | |
.controls { position: absolute; top: 0; right: 0; z-index: 5; background-color: red; border: 1px solid red;} | |
.overlay { position: absolute; z-index: auto; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.5; background-color: yellow; border: 1px solid green;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.test, .test2 { | |
width: 200px; | |
height: 200px; | |
background: green; | |
border-radius: 500px; | |
position: relative; | |
transition: all 2s linear; | |
} | |
.test2:hover { | |
transform: translate(20px, 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# create local repo | |
git init | |
# import kohana + offical mods | |
#git submodule add git://github.com/kohana/kohana.git lib/kohana | |
# import kohana core as git submodule | |
git submodule add git://github.com/kohana/core.git system |