Skip to content

Instantly share code, notes, and snippets.

View naveenlb's full-sized avatar

Naveen L Bhandari naveenlb

  • Bangalore, India
View GitHub Profile
@naveenlb
naveenlb / gist:75f6a31dc6da368959d918f3dd467dab
Created March 3, 2017 05:45 — forked from JacobLett/gist:f4ca4f89f4eb511053ae
html email css reset - microsoft outlook
/* /\/\/\/\/\/\/\/\/ RESET STYLES /\/\/\/\/\/\/\/\/ */
body { font-family: sans-serif; }
body { margin: 0; padding: 0; }
img { border: 0 none; height: auto; line-height: 100%; outline: none; text-decoration: none; }
a img { border: 0 none; }
.imageFix { display: block; }
table, td { border-collapse: collapse; }
#bodyTable { height: 100% !important; margin: 0; padding: 0; width: 100% !important; }
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { display: block; font-weight: bold; line-height: 100%; margin-top: 0; margin-right: 0; margin-bottom: 10px; margin-left: 0; text-align: left; }
h1, .h1 { font-size: 26px; }
@naveenlb
naveenlb / bootstrapCDN.html
Created August 9, 2016 05:37 — forked from planetoftheweb/bootstrapCDN.html
Bootstrap 3 CDN Page Code
<!-- HEAD SECTION -->
<!-- IE Edge Meta Tag -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
@naveenlb
naveenlb / font-awesome.css
Created July 10, 2016 04:47 — forked from frankyonnetti/CSS--font-awesome.scss
#fonts #css use font-awesome in CSS (background image)
.mytextwithicon {
position: relative;
}
.mytextwithicon:before {
font-family: FontAwesome;
content: "\f069";
position:absolute;
left: -5px;
top:0;
}