Here are a few possible titles that fit the content of your article and are for Q&A-type questions: * **Why don\'t gradient filters work on pseudo-elements in IE8?** * **How ​​come gradient filters don\'t apply to pseudo-elements in IE8?** * **Can gradient filters be appl

DDD
Release: 2024-10-25 02:01:29
Original
843 people have browsed it

以下是几个可能的标题,符合你的文章内容,并为问答类问题:

* **Why don't gradient filters work on pseudo-elements in IE8?**
* **How come gradient filters don't apply to pseudo-elements in IE8?**
* **Can gradient filters be applied to pseudo-elements in IE8?**
* **Why are gradient f

Why doesn’t it work on pseudo elements in IE8?

This question is "Why doesn't it work on pseudo elements in IE8?". Here's the closest thing I can piece together to a definite answer. It comes from the information on this page.

The gradient filter is a "procedural surface" (together with alphaimageloader). Procedural surfaces are defined as follows:

Procedural surfaces are colored surfaces that are displayed between the object's content and the object's background.

Read carefully. This is essentially another "layer", you might say, between the content of the object and the background of that object. Do you see the answer to this question? What :before and :after create...yes! Content. Specifically as MSDN points out:

The ::before and ::after pseudo-elements specify the position of the context before and after the element in the document tree. The context attribute, along with these pseudo-elements, specifies the content to be inserted.

The generated context interacts with other boxes as if they were actual elements just inserted inside their related elements.

Now, if a Content is generated, then it is not the "object" containing the content, but the Content itself ( It happens to behave somewhat like an element object that may contain content).

Therefore, no object contains "content" (because it is content) and a filter can put a program between it ification surface that applies to content generated by pseudo-elements (i.e. "fake elements"). A gradient must be applied to the object and then a procedural surface placed between it and the content.

The above is the detailed content of Here are a few possible titles that fit the content of your article and are for Q&A-type questions: * **Why don\'t gradient filters work on pseudo-elements in IE8?** * **How ​​come gradient filters don\'t apply to pseudo-elements in IE8?** * **Can gradient filters be appl. 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!