Chapter 6Responsive Boilerplate

Boilerplate is readily reusable code—a template, if you like—that you can use as a basis for your projects. Extracted from a website, the boilerplate code is what you use over and over again without changes to start off a project or a file.

Often, you’ll know you’re using boilerplate because it forms your first task when you start a project (usually copying and pasting from a “skeleton” into your project). A good boilerplate takes advantage of the wealth of research done by the Web community, providing optimized, best-practice baseline code. It enables you to hit the ground running, reducing your development time as you start to customize.

Important: What’s the catch?

While boilerplates can reduce development time, ...

Get Jump Start Responsive Web Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.