BEM Syntax with Sass

UPDATE: Updated before it’s even published, but last night I found out that with updates before Sass 3.3.0 you can now just us & in front of the last part of the selector and it will work the same as the @at-root directive. Code snippets below have been updated to use this method. At Big […]

Abnormal media query handling in Fire Fox

As of CSS 2.1 you can target your css at specific media conditions, but Firefox seems to handle them strangely. It includes the visible vertical scroll bar in the calculation of the width instead of the actual display width itself. This means that while javascript may return one value for screen width your media queries […]