Back to all reviewers

remove unnecessary prefixes

denoland/deno
Based on 2 comments
Css

Remove vendor prefixes from CSS properties that have achieved sufficient browser support across modern browsers. Before removing prefixes, verify browser compatibility using resources like MDN documentation to ensure the unprefixed property is well-supported.

Code Style Css

Reviewer Prompt

Remove vendor prefixes from CSS properties that have achieved sufficient browser support across modern browsers. Before removing prefixes, verify browser compatibility using resources like MDN documentation to ensure the unprefixed property is well-supported.

This practice improves code readability, reduces maintenance overhead, and eliminates redundant code. Focus on commonly supported properties that no longer require vendor-specific implementations.

Example cleanup:

/* Before - unnecessary prefixes */
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

pre {
  -moz-tab-size: 2;
  -o-tab-size: 2;
  tab-size: 2;
}

/* After - clean, modern CSS */
*:before {
  box-sizing: border-box;
}

pre {
  tab-size: 2;
}
2
Comments Analyzed
Css
Primary Language
Code Style
Category

Source Discussions