Skip to content

Instantly share code, notes, and snippets.

View gustavom's full-sized avatar

Gustavo Martusewicz gustavom

View GitHub Profile
@mixin clearfixmicro(){
&:before,
&:after {content: " "; display: table;}
&:after {clear: both;}
&{*zoom: 1;}
}
.suaclasse{
@include clearfixmicro ();
}
@gustavom
gustavom / clearfix-micro-pure-css
Last active August 29, 2015 14:11
ClearFix Micro Css
.sua_classe:before,
.sua_classe:after {
content: " ";
display: table;
}
.sua_classe:after {
clear: both;
}
.sua_classe{
*zoom: 1;
@gustavom
gustavom / css-transition-all
Created December 11, 2014 17:43
Css transition all
-webkit-transition: all .20s linear;
-moz-transition: all .20s linear;
-ms-transition: all .20s linear;
transition: all .20s linear;
@gustavom
gustavom / index.html
Last active August 29, 2015 14:11
Simulando nth-child com jquery
<div class="page-group">
<div class="page"></div>
<div class="page"></div>
<div class="page"></div>
</div>
@gustavom
gustavom / imagens_fade_in-fade_out.css
Last active August 29, 2015 14:11
Css3 Animation Images - fade in - fade out
/*http://css3.bradshawenterprises.com/cfimg/*/
@-webkit-keyframes cf4FadeInOut {
0% {
opacity:1;
}
17% {
opacity:1;
}
25% {
@gustavom
gustavom / css-click-disable.css
Created January 15, 2015 15:57
CSS Click disable
.avoid-clicks {
pointer-events: none;
}
@gustavom
gustavom / gist:a7ae8710fcfd3af7aff8
Created January 20, 2015 20:09
GIT - para de rastrear arquivo
git rm --cached nome_do_arquivo
@gustavom
gustavom / .gitignore
Last active August 29, 2015 14:13 — forked from octocat/.gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@gustavom
gustavom / SassMeister-input.scss
Created June 2, 2015 18:51
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
@for $i from 1 through 980 {
$altura_img: 360;
$largura_img: 980;
$nova_largura_img: 980 - $i;
//AI / LI * NLI = NAI
@gustavom
gustavom / SassMeister-input.scss
Created June 2, 2015 20:02
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
@for $i from 1 through 14 {
$altura_img: 360;
$largura_img: 980;