CSS3 comes with new unit rem. It works like em but it is always relative to the element instead of...
An opinion how to implement BEM. I don't agree with all of Nico's choices, but I applaud his...
Ruby's private keyword might do a lot less than you think. "private" does not apply to class methods defined...
When two classes implement the same behavior (methods, callbacks, etc.), you should extract that behavior into a trait or module...
In Rails 5 you can say: ApplicationController.render( :template => 'users/index', :layout => 'my_layout', :assigns => { users: @users } ) If a Request Environment is...
Box shadows are awesome. Unfortunately they are also very costly to render. You will rarely notice the rendering time on...
Exception notifications contain a lot of information: Backtraces, HTTP headers, etc. exception_notification tries its best to format this wall...
For websites that don't do JavaScript rendering on the client, it's best practice to put script tags at...
Using CSS sprites for background images is a technique for optimizing page load time by combining smaller images into a...
Next time you have to do more than trivial CSS changes on a project, you probably want to have live...
1. Saving files to a directory that is not shared between deploys or servers If you save your uploads to...
This card shows how to upgrade a Rails 2 application from Rails 2.3.8 through every single patch level up to...
New WYSIWYG editor that claims to be lighter and prettier than TinyMCE and CKEditor. Has some Rails integration, too.
Back in the old days, we couldn't do something like that: .foo { position: absolute; bottom: 0; /* This was bad...
This trick might be useful to implement more complicated directives in AngularJS. I needed it to do drag'n'drop...
When HTTP clients make an request they can define which response formats they can process. They do it by adding...
We have often felt the pain where our models need to serve too many masters. E.g. we are adding a...
Find out in this short guide, how to horizontally center a absolute positioned container with CSS. Note: We have a...
yaml4r is a juxtaposition of yaml documents and their Ruby couterpart. Thus, it does a great job as YAML-doc...
Chart.js seems to be a good alternative to Google's Chart API and other commercial chart drawing libraries.
Smashing Magazine lists some handy tricks for print style sheets, all with CSS: Expand External Links For Print
CSSmatic lets you play around with four rather complex CSS stylings and gives you CSS or SASS code to use...
The linked site lists a wealth of CSS hacks that let you apply styles to just that one browser. You...
calc() lets you mix CSS units. Ever wanted to give an element "the container's width minus 20px on each...