diff --git a/lib/nib/vendor.styl b/lib/nib/vendor.styl index e6b5fef6..2be1acd6 100644 --- a/lib/nib/vendor.styl +++ b/lib/nib/vendor.styl @@ -261,6 +261,19 @@ perspective() perspective-origin() vendor('perspective-origin', arguments, only: webkit moz ms official) +/* + * Inline-block with conditional IE support. + */ + +display(mode, args...) + if mode == 'inline-block' + display inline-block args + if support-for-ie + zoom 1 + *display inline args + else + display mode args + /* * Opacity with conditional IE support. */