Skip to content

Instantly share code, notes, and snippets.

@bhargav2785
bhargav2785 / dabblet.css
Created October 30, 2012 04:03
Transition CSS property to get bullet fire effect :P
/**
* Transition CSS property to get bullet fire effect :P
**/
body{
background-color: black;
}
.transition{
position: relative;
top: 50px;
@bhargav2785
bhargav2785 / dabblet.css
Created October 30, 2012 18:23
Understanding values of background-size property
/**
* Understanding values of background-size property
*/
section > div > div{
position: relative;
width: 170px;
height: 170px;
display: inline-block;
margin: 30px 10px;
@bhargav2785
bhargav2785 / dabblet.css
Created October 30, 2012 21:27
Understanding values of background-size property
/**
* Understanding values of background-size property
*/
section > div > div{
position: relative;
width: 170px;
height: 170px;
display: inline-block;
margin: 30px 10px;
@bhargav2785
bhargav2785 / dabblet.css
Created October 30, 2012 21:33
Pure CSS3 Progress bars. No JavaScript or Image used.
/**
* Pure CSS3 Progress bars. No JavaScript or Image used.
* @author: Bhargav Vadher
* @date: 2012-10-31 the Halloween day :)
*/
body{
background-color: rgba(0,0,0,1);
font-family: sans-serif;
}
@bhargav2785
bhargav2785 / dabblet.css
Created November 1, 2012 18:54
Explaining CSS timing functions
/**
* Explaining CSS timing functions
**/
.functions{
position: relative;
width: 50%;
top: 50px;
background: #000;
padding: 20px;
@bhargav2785
bhargav2785 / dabblet.css
Created November 3, 2012 09:24
Love Flowers
/**
Love Flowers
@author Bhargav Vadher
**/
.flowers{
position: absolute;
width: 50px;
height:50px;
@bhargav2785
bhargav2785 / dabblet.css
Created November 5, 2012 06:45
css shapes - square
/**
* css shapes - square
*/
.square{
position: relative;
margin: 30px;
width: 100px;
height: 100px;
background-color: steelblue;
@bhargav2785
bhargav2785 / dabblet.css
Created November 5, 2012 06:49
css shapes - circle
/**
* css shapes - circle
*/
.circle{
position: relative;
margin: 30px;
width: 100px;
height: 100px;
background-color: steelblue;
@bhargav2785
bhargav2785 / dabblet.css
Created November 5, 2012 06:50
css shapes - oval
/**
* css shapes - oval
*/
.oval{
position: relative;
margin: 30px;
width: 200px;
height: 100px;
background-color: steelblue;
@bhargav2785
bhargav2785 / dabblet.css
Created November 5, 2012 06:52
css shapes :: triangle
/**
* css shapes :: triangle
*/
.triangles{
position: realative;
background: red;
display: block;
}
.triangles > span{
position: relative;