Mid JavaScript

What are vendor prefixes?

Prefixes ensure CSS works across browsers before full support.

Example:

Follow me on LinkedIn:

.box {

  • webkit-border-radius: 10px; /* Chrome, Safari */
  • moz-border-radius: 10px; /* Firefox */

border-radius: 10px; /* Standard */

Key Takeaway:

Vendor prefixes provide cross-browser compatibility for experimental features.

Intermediate

More from JavaScript Tutorial

All questions for this course