24 Ways

1. Dealing with Emergencies in Git ◆ 24 ways

  • Getting Interrupted in Git
  • Checking out a Single Commit
  • Saving Just One Commit
  • Uploading the Fixed Branch
  • Cleaning up and Getting Back to Work
  • Having Fun with Analogies


2. Automating CSS Regression Testing | CSS-Tricks

"Why CSS testing?
Do a search for CSS regression testing and a common theme becomes clear – breaking CSS is easy, testing it is hard. This was the case at the onset of a large responsive refactoring project I scoped earlier this year for Art.com.

Like many other established web companies, Art.com is in the process of adding responsive behavior to its massive e-commerce web app, which was originally designed for 1024px desktop screens.

I realized this would be a big and delicate job. Adding multiple breakpoint behaviors which (by their very nature) are mostly off-screen at any point in time means we would have a lot of hard-to-find errors. We needed a way for our engineers to automate bug discovery before slamming our QA process with hundreds of ticky-tacky little layout issues (which would all need to be documented, tracked and fixed)."

3. Clipping and Masking in CSS | CSS-Tricks

"Both of these things are used to hide some parts of elements and show other parts. But there are, of course, differences between the two. Differences in what they can do, differences in syntaxes, different technologies involved, the new and the deprecated, and browser support differences.

And sadly there is quite a bit of outdated information out there. Let’s see if we can sort it out.

The difference between clipping and masking

Masks are images; Clips are paths."

4. What’s So Great About Bower? | CSS-Tricks

“When I first started working with Bower I didn’t quite get the appeal. ”Seriously?“ I thought. ”Now it’s too much work to download and unzip a file?" I also wasn’t super excited about cramming a bunch of new commands into a brain that was already bulging at the seams with Git, Grunt, Gulp, Jekyll, Node, etc.

There are two things I would tell that half-a-year ago version of myself. First, Bower can do a little bit more than download a file or two. Second, spending an hour learning a tool that will eliminate a repetitive task is worth it."


5. Issue #139 | CSS Weekly

  • CSS Specificity Graphs
  • Creating Animations and Interactions with Physical Models
  • Understanding CSS Stats: How to Make the Most of the Numbers

Smashing Magazine

6. Creating A “Save For Later” Chrome Extension With Modern Web Tools – Smashing Magazine

7. How To Create Your Own Front-End Website Testing Plan – Smashing Magazine

“Creating an extension for the Chrome browser is a great way to take a small and useful idea and distribute it to millions of people through the Chrome Web Store. This article walks you through the development process of a Chrome extension with modern web tools and libraries.”

8. Making A Complete Polyfill For The HTML5 Details Element – Smashing Magazine

“HTML5 introduced a bunch of new tags, one of which is details. This element is a solution for a common UI component: a collapsible block. Almost every framework, including Bootstrap and jQuery UI, has its own plugin for a similar solution, but none conform to the HTML5 specification — probably because most were around long before details got specified and, therefore, represent different approaches. A standard element allows everyone to use the same markup for a particular type of content. That’s why creating a robust polyfill makes sense.”

9. Free Hand-Drawn Doodle Icon Set (100 Icons, PNG, PSD, SVG) – Smashing Magazine

“If you want to convey an intimate, personal atmosphere in your design, you can’t rely on sterile, clean, pixel-perfect icons. So what about using hand-drawn doodles instead? That’s why we’re happy to release a quite special hand-drawn doodle icon set that has been created by Roundicons and can be used for both private and commercial projects.”

10. Creating Animations and Interactions with Physical Models

"Scrolling on iOS is an excellent example of a physics-based interaction. When you drag your finger across the screen, the content tracks along with it, thereby scrolling, but when you lift your finger all of the physics magic happens: the content continues tracking with the same momentum and slows down under the influence of (virtual) friction. If you hit the end of the content, then the momentum goes into an overdamped spring which absorbs the momentum and returns you to the end of the content.

Everyone is familiar with scrolling, and all of the touch-based operating systems implement it because it feels so natural to use. But lets start with something a bit simpler: here are two buttons which get a bit smaller when you push down on them (to give visible feedback indicating that the UI has received your touch input). One of these buttons uses an underdamped spring to control its size, while the other uses more traditional CSS transitions."