Skip to content

Instantly share code, notes, and snippets.

View kianoshp's full-sized avatar

Kianosh Pourian kianoshp

  • North Andover, MA
View GitHub Profile
@kianoshp
kianoshp / SassMeister-input.scss
Created January 26, 2014 19:01
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.2)
// Compass (v1.0.0.alpha.17)
// ----
$border-default-size: 1px !default;
$border-default-pattern: solid !default;
$border-default-color: #000000 !default;
@function add-border(
@kianoshp
kianoshp / _arrow-box-mixin.scss
Last active December 25, 2015 00:09
A Sass mixin to create arrow boxes (similar to tooltips) borrowing from http://cssarrowplease.com, I created the following:
//Setting the initial border color to be red
$red: #9d261d;
//this mixin will set the box-shadow values. It will also allow for the felxibility of
//doing an inset shadow.
@mixin box-shadow ($isInset: false, $hOffset: 0, $vOffset: 0, $blur: 0, $spread: 0, $color: #ccc) {
@if $isInset {
-moz-box-shadow: inset $hOffset $vOffset $blur $spread $color;
-webkit-box-shadow: inset $hOffset $vOffset $blur $spread $color;
box-shadow: inset $hOffset $vOffset $blur $spread $color;
@kianoshp
kianoshp / domCSS
Created May 16, 2012 14:01
Follow the DOM CSS
header {
height: 88px;
}
header section {
position: relative;
color: #fff;
}
aside {
float: right;
width: 330px;