Skip to content

Instantly share code, notes, and snippets.

@jraycv
jraycv / 0_reuse_code.js
Created March 2, 2014 13:36
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@jraycv
jraycv / CSS3 Center Radial
Created December 12, 2013 10:47
CSS3 Center Radial
To Start Applying this you just need to add the follwing code in you LESS file.
html,body{margin:0;padding:0;width:100%;height:100%}
.radial body{
background: url('Your Background Image Here') repeat;
&:after {
content: "";
z-index: -1;
First you need a prefixer.less and add the following code inside the file:
//.transform-origin(@args)
.transform-origin(@percent){
-webkit-transform: @percent;
-moz-transform: @percent;
-ms-transform: @percent;
-o-transform: @percent;
transform: @percent;