Why Doesn\'t a Filter Gradient Apply to Pseudo-Elements in IE8?

DDD
Release: 2024-10-25 16:24:02
Original
301 people have browsed it

Why Doesn't a Filter Gradient Apply to Pseudo-Elements in IE8?

Why does a filter gradient on a pseudo element not work in IE8?

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!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!