Skip to content

Instantly share code, notes, and snippets.

View stretchgz's full-sized avatar

Wai Tsang stretchgz

  • NY, USA
View GitHub Profile
@stretchgz
stretchgz / dabblet.css
Last active August 29, 2015 14:09
twitter emoji example
/**
* twitter emoji example
*/
p{
font-size: 5em;
}
img.emoji {
height: 1em;
@stretchgz
stretchgz / dabblet.css
Created August 25, 2014 20:57
transparent css
/**
* transparent css
*/
div{
border: 1px solid #ccc;
width: 200px;
height: 200px;
margin: 1em;
float: left;
@stretchgz
stretchgz / dabblet.css
Created August 21, 2014 13:57
css3 background images
/**
* css3 background images
*/
.demo {
width: 300px;
height: 300px;
border: 1px solid grey;
transition: background .25s;
background:
url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACyUlEQVR42q2UTWgTQRTH/7NJiujBY0HqByJqFRVEoaAIEUEoiLXEUrGFKh5qFamg4sGb54IgiiD05EFFi7TgSa2aRk0/Y2mKlopapcQ2281Ho202s+Pb2WySBdsI3cDwJm/f/H/vY3YZyvwOdm4RletXwVvhc/hzWR2/fiyg7+wkW+78sg9tQHt9LTavrXL4v6dj6HjSvXLA3nsbxPXGOkTnHjj8yYyCt6HVGG6dcgHQcAITqccOv5YCet/53AFcC9Rjcv6R/C9oGQYQTwKhsEuAKwT4QgBTmNMyhIJ4Augf8rgEqD+OT6kuErYqMCFxDRiOuAS4dKwOn+efkjiTELOSGZVjLPofLTKvYTnIuaO1GE935dtDVZCdS3CawWK5o2D+zp3ixhk/phPfIJhCIswapBRSILiCcTVEuXulsAFFWp0CFrnA7soa8hmFyuRZDnh9Hjx8HgY7dL9anD+1FZHpEB31WEGCQacgMnLPaKgGPStUAEvMEAKclkEgI+8TJoj2CiU0+CENduButWhr2kGAPsrS5wjiMiMlL1YUtmchgbBaBlHcm/ZPVsHYQBKs5vZ20da8CyM/g1CYtyhsKFZWpcJUDbezt9uRn2DOsG6MlZwC+lTh43sC7L9lAYYJwJSKQgalwlywYltKhO1YlAgb0sGR43SFgwTY17FNHPFvRHQ6uuRN2FPpx5QRdAjHYjn5bE3Fv89kssDEaAas+uYmkU5llxTXfs/hcksAX3nQkfEMAcIv1fLXtFxA1dV1oqXhMCZ1uwJFUtTZrARk
body{
margin: 5em;
background: #FDF8DB;
}
div{
margin-left: 100px;
margin-top: 100px;
width: 200px;
height: 200px;
background: #F88379;
body{
margin: 5em;
background: #FDF8DB;
}
div{
margin-left: 100px;
margin-top: 100px;
width: 200px;
height: 200px;
background: #F88379;
p{
width:400px;
overflow:hidden;
text-overflow:ellipsis;
white-space: nowrap;
}
@stretchgz
stretchgz / .gitignore
Created March 29, 2014 16:05
my gitignore for android project
# built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class
@stretchgz
stretchgz / Fetch.sublime-settings
Created September 11, 2013 20:11
my setting for Sublime Text plugin: Nettuts+ Fetch
{
"files":
{
"holderjs": "https://raw.github.com/imsky/holder/master/holder.js",
"jquery": "http://code.jquery.com/jquery.min.js",
"jquery-color": "http://code.jquery.com/color/jquery.color-git.js",
"jquery-scrollTo": "https://raw.github.com/flesler/jquery.scrollTo/master/jquery.scrollTo.min.js",
"normalize": "https://raw.github.com/necolas/normalize.css/master/normalize.css",
"nprogress.css": "https://raw.github.com/rstacruz/nprogress/master/nprogress.css",
"nprogress.js": "https://raw.github.com/rstacruz/nprogress/master/nprogress.js",
@stretchgz
stretchgz / dabblet.css
Created May 20, 2013 13:44
关于background-image效果
/**
* 关于background-image效果
*/
div{
display:block;
width:300px;
height:300px;
float:left;
margin:1em;
@stretchgz
stretchgz / dabblet.css
Created May 13, 2013 03:55
Color Theme
/**
* Color Theme
*/
.box{
max-height:100px;
min-width:100px;
display:block;
margin:.5em;
float:left;