Despite the ".btn:before" and ".btn:after" pseudo elements appearing to be between the object and the background, they are not objects that can apply filters to. According to MSDN, filters are procedural surfaces that can only be applied to the content of an object and its background. Since the pseudo-elements in this case are the content itself, they cannot be used with procedural surfaces.
The above is the detailed content of Why Doesn\'t a Filter Gradient Apply to Pseudo-Elements in IE8?. For more information, please follow other related articles on the PHP Chinese website!