Difference between behavior and -ms-behavior
Internet Explorer
versions 5 and above support behavior property
.
Internet Explorer version 8 supports the syntactically correct extended provider format for ms-behavior.
In most cases, you'll need behavior
if you do not want to completely get IE8 versions
to work standard mode
. Then you have to use ms-behavior
. But adding both won't hurt you at all, and it's probably good practice.
source to share
Windows Internet Explorer 8 . Attribute -ms-behavior
is a CSS extension and can be used synonymously for behavior in . IE8 Standards mode
More info on https://msdn.microsoft.com/en-us/library/ms530723(v=vs.85).aspx
source to share