Rails `link_to_with_notification` Helper Method

In with my last post on creating a notification badge I showed the HTML and CSS markup. But I forgot that even when the notification count was at zero it still showed the badge. The Problem Because was using a Rails app I wanted to continue using the link_to helper method. The Solution I created […]

Continue Reading

Creating a Notification Badge with HTML5 and CSS3

I recently wanted to add a notification badge to a website. I wasn’t sure what the best approach was, but I knew I didn’t want to add extra markup and position it with CSS. I also didn’t want to use a jQuery plugin to add this little feature. I ultimately decided to use the HTML5 […]

Continue Reading

Designing better Checkboxes

When adding an <input type=”(radio|checkbox)” /> I recommend wrapping the whole thing in a label. Because it makes the clickable area bigger and allows the user to miss the text and input while getting the desired result. Here’s the basic markup. Check out this Pen!

Continue Reading