browser specific css attributes

2019-05-06 22:49发布

问题:

Where can I find a complete "browser specific css attributes" reference?

I mean some attributes such as -moz-border-radius that is just for Firefox or -webkit-min-device-pixel-ratio. These examples work just in a specified web browser. I want a complete reference for these attributes.

回答1:

Each vendor should maintain a list of custom CSS extensions. The ones I've found are linked below.

  • Mozilla (Firefox)
  • Opera
  • Safari (merged with standard CSS properties)
  • Internet Explorer (outdated)

Ones I can't find ...

  • Chrome (same engine as Safari, some slight differences in vendor extensions supported)


回答2:

Peter Baverloo's table is the best reference I have been able to find for all browsers in one single page.



回答3:

Check out css3files. It's a site that talks about all popular css3 functions, in what browsers they work and what code you need to use.



回答4:

You can take a look at this page: http://caniuse.com/

It also shows most, if not all, HTML5 and CSS3 features and their support.