Skip to content Skip to sidebar Skip to footer

Vendor Prefix Inline Style

Is it possible to write a vendor prefix to an inline style? For example the prefix '::-webkit-color-swatch' works inside a stylesheet but how can it be written inline?

Solution 1:

You can add vendor prefixes to inline styles, but ::-webkit-color-swatch is not a vendor prefix, it's a pseudo element. You can only add inline styles that style a single element (the one on which the inline style is set).


Post a Comment for "Vendor Prefix Inline Style"