Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Shankar shankariyerr

🏠
Working from home
Block or report user

Report or block shankariyerr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View snippets.cson
'.text.html.basic':
'HTML 5':
'prefix': 'bootstrap'
'body': '''
<!DOCTYPE html>
<html>
<head>
<!-- Basic Page needs -->
<meta charset="utf-8">
@shankariyerr
shankariyerr / ua.js
Created May 30, 2016
Hide HTML elements for iphone using useragent
View ua.js
$( document ).ready(function() {
var iphone = /iPhone/i.test(navigator.userAgent);
if (iphone) {
$('.yourclass').css("display","none");
}
});
@shankariyerr
shankariyerr / typography.scss
Created May 23, 2016
SASS function for headings
View typography.scss
$start: 2.5rem;
@each $h in h1, h2, h3, h4, h5, h6{
#{$h} {
font-size: $start;
}
$start: $start - 0.125;
}
You can’t perform that action at this time.