Skip to content

Instantly share code, notes, and snippets.

View aurelkurtula's full-sized avatar
🎯
Focusing

aurel kurtula aurelkurtula

🎯
Focusing
View GitHub Profile
@keyframes animate-tail {
0% {background-position: -6864px 0; }
100% {background-position: 0 0;}
}
#foxtail {
animation: animate-tail 3.75s steps(44) infinite;
}
@aurelkurtula
aurelkurtula / gist:6273615
Created August 19, 2013 20:20
st:html:meta
<meta name="viewport" content="width=device-width">
@aurelkurtula
aurelkurtula / gist:6273598
Created August 19, 2013 20:18
st:jquery:start
$( document ).ready(function() {
});
@aurelkurtula
aurelkurtula / gist:6273174
Last active December 21, 2015 07:39
st:sass:mediaquerys
@mixin breakpoint($point) {
@if $point == alpha {
@media (max-width: 1000px) { @content; }
}
@else if $point == beta {
@media (max-width: 1250px) { @content; }
}
@else if $point == gamma {
@media (max-width: 710px) { @content; }
}
@aurelkurtula
aurelkurtula / style.css
Last active December 21, 2015 07:39
st:css:starter
@media screen { * , *:after,*:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } }* {margin: auto; padding: auto;}
html { font-size: 62.5%; } /*base sizee*/
body { font-size: 1.4rem; } /* =14px all type sizes are relative to the base size*/
@aurelkurtula
aurelkurtula / dabblet.css
Created May 6, 2013 00:08
zig-zag background (SO)
/**
* zig-zag background (SO)
* CSS Zigzag Border with a Textured Background
*/
background: linear-gradient(#BCED91 49%, transparent 49%),
linear-gradient(-45deg, white 33%, transparent 33%) 0 50%,
white linear-gradient(45deg, white 33%, #BCED91 33%) 0 50%;
background-repeat: repeat-x;
background-size: 1px 100%, 40px 40px, 40px 40px;
@aurelkurtula
aurelkurtula / dabblet.css
Created April 8, 2013 12:28
Speach boble
/* Speach boble*/
.bubble {
background-color: #fff;
border-radius: 7px;
border: 2px solid #DD4814;
box-shadow: inset 0 1px 1px hsla(0,0%,100%,.5),
4px 4px 0 hsla(0,0%,0%,.1);
color: #333;
display: inline-block;
font-family: Ubuntu, sans-serif;
@aurelkurtula
aurelkurtula / dabblet.css
Last active August 6, 2020 06:56
hover with animation
/**
* hover with animation
*/
article{
width: 150px; height: 150px;
background: #ede;
display: block
margin: 150px;
overflow:hidden;
@aurelkurtula
aurelkurtula / dabblet.css
Created April 3, 2013 13:10
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
#article{
width: 300px;
background: red;
margin: auto;
}
@aurelkurtula
aurelkurtula / dabblet.css
Created March 28, 2013 07:01
heart shape
/**
* heart shape
*/
a{
position: relative;
width: 100px;
height: 90px;
margin:300px;