Skip to content

Instantly share code, notes, and snippets.

Avatar

Gediminas Bivainis bivainis

View GitHub Profile
View .scss-lint.yml
# 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 Dec 15, 2015
Variable column width with truncation, when one of the columns is of variable width. Using flexbox
View flexible-truncation.scss
//
// 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 Apr 18, 2019
San Francisco Web Font
View sanfrancisco-font.css
/**
* 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");
}