HTML5 and CSS3 with Modernizr

Share This Post

Ten years ago, browser support for CSS layouts was wonky overall.  Designers and developers advocated for web standards compliance, while creating hundreds of hacks that made CSS layouts work in all browsers. Today, CSS-based layouts are commonplace and every browser has pretty solid support for them. But now the situation of browser compliance is repeating itself with HTML5 and CSS3.
To solve that problem, you can use Modernizr. Modernizr is an open-source JavaScript library allows web developers to support capabilities of the visitor’s browser at different levels. This enables developers to take advantage of everything in HTML5 and CSS3 that is implemented in some browsers, without losing control over the end result in other (older) browsers.
When you embed the Modernizr script in your page, it detects whether the current browser supports CSS3 features like @font-face, border-radius, border-image, box-shadow, rgba() and so forth, as well as HTML5 features like audio, video, localStorage, and the new <input> element types and attributes. It provides a script loader so you can pull in polyfills to backfill functionality in old browsers.
Sounds like a magical solution? Yes and no, for those developers who aren’t familar with using Modernizr, HTML5 or CSS3 it could take twice as long to develop a site this way, which can be seen as a major downfall. However, the learning curve is worth the time invested when looking at the big picture.

More To Explore

Mobile-First Marketing: Why It’s Essential Today

Not long ago, mobile optimization was viewed as a competitive advantage—a forward-thinking enhancement for brands looking to stay ahead. Today, it’s the foundation. For most consumers, the mobile experience is the internet, shaping how they discover, engage with, and connect to brands every day.

cookie monster and google cookie tracking

Did Google Kill Cookie Tracking

In the halcyon days of 2020, Google declared that third-party cookies were going away in Chrome, setting off a panic attack in marketing departments worldwide.

Contact Us

"*" indicates required fields

I am not a robot
Adam Forsythe, Media Planner/Buyer, Current360

Adam Forsythe

With over 20 years of media buying experience, Adam Forsythe combines strategic insight with data-driven precision to connect brands with their ideal audiences. His expertise spans digital, social, and traditional media, allowing him to craft balanced, results-oriented campaigns that drive measurable ROI. Known for his collaborative approach and strong industry relationships, Adam consistently delivers value through thoughtful planning, smart negotiation, and performance optimization.

Chaney Given

Chaney is a talented and accomplished designer and illustrator, who has expanded his skill set to include motion graphics and video editing. With nearly a decade of experience, his client work includes Waterstep, Baptist Health, the Archdiocese of Louisville Catholic Schools, First Harrison Bank, and many more