I recently read a tutorial on CSS browser feature detection... The end product was something like this...
var prefix = [\'Moz\', \'webkit\', \'O\', \'ms\', \'Kht
document.createElement('div').style
will return a object which have CSS properties. you can use key in to check if particular property exist in a object.
key in