Skip to content

Instantly share code, notes, and snippets.

View IamManchanda's full-sized avatar
🖥️
Coding

Harry Manchanda IamManchanda

🖥️
Coding
View GitHub Profile
@IamManchanda
IamManchanda / spacing_utilities.css
Created January 5, 2017 15:49
Spacing Utilities : Forked from Basscss
.m0{ margin:0 }
.mt0{ margin-top:0 }
.mr0{ margin-right:0 }
.mb0{ margin-bottom:0 }
.ml0{ margin-left:0 }
.mx0{ margin-left:0; margin-right:0 }
.my0{ margin-top:0; margin-bottom:0 }
.m1{ margin: .5rem }
.mt1{ margin-top: .5rem }
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col {
position: relative;
width: 100%;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
}
@media (min-width: 576px) {
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col {
echo "<pre>";
die(var_dump($animals));
echo "</pre>";
<pre>array(2) {
[0]=>
string(3) "dog"
[1]=>
string(3) "cat"
}
@charset "UTF-8";
/**
* Foundation for Sites by ZURB
* Version 6.3.0
* foundation.zurb.com
* Licensed under MIT Open Source
*/
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
/* Document
========================================================================== */
@IamManchanda
IamManchanda / responsive-flexbox-helper.css
Last active January 28, 2017 20:26
Responsive flexbox helpers - Foundation
@media print, screen and (min-width: 40em) {
.medium-flex-dir-row {
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
}
.medium-flex-dir-row-reverse {
@IamManchanda
IamManchanda / flexbox.md
Last active January 29, 2017 10:18
#9701 - Doc Update
title description sass
Flexbox
For browsers with cutting-edge support, some of Foundation's key components can be converted to flexbox.
scss/components/_flex.scss
scss/util/_flex.scss

Foundation components use a combination of floats, vertical alignment, table cells, and various other CSS hacks to get layouts looking right. These days though, there's a better way... if you are happy with the below browser support!

@IamManchanda
IamManchanda / prototype.css
Last active February 1, 2017 19:24
#9738 [Advancement] Prototype/sepration from core - Flexbox disabled & prototype enabled
.float-left {
float: left !important; }
.float-right {
float: right !important; }
.float-center {
display: block;
margin-right: auto;
margin-left: auto; }
@IamManchanda
IamManchanda / prototype-flex.css
Created February 1, 2017 19:27
#9738 [Advancement] Prototype/sepration from core - Flexbox enabled & prototype enabled
.float-left {
float: left !important; }
.float-right {
float: right !important; }
.float-center {
display: block;
margin-right: auto;
margin-left: auto; }
// Source: https://designpieces.com/2012/12/social-media-colours-hex-and-rgb/
$social-brand-facebook: #3b5998;
$social-brand-twitter: #55acee;
$social-brand-linkedin: #007bb5;
$social-brand-youtube: #bb0000;
$social-brand-instagram: #125688;
$social-brand-pinterest: #cb2027;
$social-brand-google-plus: #dd4b39;
$social-brand-github: #000000;
$social-brand-tumblr: #32506d;