Skip to content

Instantly share code, notes, and snippets.

View bivainis's full-sized avatar

Gediminas Bivainis bivainis

View GitHub Profile
# For SCSS-Lint v0.32.0
linters:
BangFormat:
enabled: true
space_before_bang: true
space_after_bang: false
BorderZero:
@bivainis
bivainis / flexible-truncation.scss
Last active December 15, 2015 08:46
Variable column width with truncation, when one of the columns is of variable width. Using flexbox
//
// as seen on: http://jsfiddle.net/Blender/kXMz7/1/
// similar solution here: http://codepen.io/stefsullrew/pen/WvWWqJ/
// link above might solve issues with iOS
//
.parent-div {
display: -webkit-flex;
display: -moz-flex;
display: flex;
}
@bivainis
bivainis / sanfrancisco-font.css
Last active May 26, 2024 20:01
San Francisco Web Font
/**
* http://applemusic.tumblr.com/
*/
/** Ultra Light */
@font-face {
font-family: "San Francisco";
font-weight: 100;
src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-ultralight-webfont.woff2");
}