Written content to help you along your web development journey, without forgetting to have some fun along the way.
No need to mess with Apache or Nginx to run a web server on your local machine. Just use this ruby command.
Typically your application's stylesheet bundle contains several rules your site doesn't need. Here's how to use PurgeCSS to remove those unused styles when you're working on a Jekyll site.
When you don't want to perform an action until the browser has downloaded all appropriate images.
It's far too easy to let your JS code pollute the global namespace. Here are two methods for keeping your code local.
A simple way to give the appearance of a full-screen looping slideshow with crossfading animation.
When you have access to the code inside an iFrame, you can manipulate its DOM that can lead to style changes.
Combine the forces of Contentful, Middleman, and Netlify to build and deploy dynamic-like site for free in less than an hour.
How to configure and use the Contentful Middleman gem to generate pages in Middleman driven by a content management system.
Take Middleman's dynamic pages feature, combine it with data modeling, and voila! We have dynamic routing in Middleman.
When you can communicate with the code inside an iFrame, you can make any change you want to the code within that iFrame.