Skip to content

Instantly share code, notes, and snippets.

View andreud's full-sized avatar

Andres andreud

View GitHub Profile

Keybase proof

I hereby claim:

  • I am andreud on github.
  • I am mcflyo (https://keybase.io/mcflyo) on keybase.
  • I have a public key ASA7QCA5Mvuyfq8r_vTC7KvKr3E060K3LM0-urlhkqYA0Qo

To claim this, I am signing this object:

Conceptos CSS

Float (and Clear)

float: left | right | none

clear: left | right | both | none

Understanding Float video

@andreud
andreud / cf7_validation_errors.css
Created May 19, 2015 22:29
WP CF7 validation errors CSS
/* Validadcion CF7 */
.wpcf7 .wpcf7-not-valid-tip {
position: relative;
background: #d5443a;
margin-top: 3px;
border-radius: 8px;
padding: 2px 6px;
border: none;
color: #fff;
font-size: 12px;
@andreud
andreud / Vertical Centered
Last active August 29, 2015 14:20
two methods vertically center
/* Escuela Digital https://www.youtube.com/watch?v=8G26O6BTGLw */
/* Method 1 */
div.parent{
display:table;
}
div.parent p {
display:table-cell;
vertical-align:middle;
}
@andreud
andreud / Fix WP-Bootstarp bars overlap
Last active August 29, 2015 14:20
Fix Wordpress / Bootstarp fixed bars overlap
/*Fix Wordpress / Bootstarp fixed bars overlap*/
.admin-bar .navbar-fixed-top {
top: 32px;
}
@andreud
andreud / gist:ca4580307a3ed6416f7a
Last active August 29, 2015 14:20
Screen Height
function screenHeight() {
if($(window).width() > 767 ) {
var h = parseInt($(window).height()),
h_head = 80;
var h_final = ( h - parseInt(h_head) );
var h_svg = h_final*5;
$('.screen-height').css('height',h+'px');
}
}
@andreud
andreud / Wordpress Settings Files
Last active January 11, 2019 13:49
Wordpress Settings Files
Snippets to configure Wordpress; .httacess, .gitignore, etc.