Skip to content

Instantly share code, notes, and snippets.

David Normington davidnormo

  • UK
Block or report user

Report or block davidnormo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View _media-queries.scss
// Media Queries in Sass 3.2
// These mixins make media queries a breeze with Sass.
// The media queries from mobile up until desktop all
// trigger at different points along the way
// And important point to remember is that and width
// over the portrait width is considered to be part of the
// landscape width. This allows us to capture widths of devices
// that might not fit the dimensions exactly. This means the break
davidnormo / pixelToTwips.js
Created Apr 6, 2014
CSS Pixel to Twips Conversion
View pixelToTwips.js
* Pixels to Twips conversion
* @param {Int} pixels
* @return {Int}
* /
var pixelsToTwips = function(pixels){
return pixels * 15;
You can’t perform that action at this time.