CSS hack: Difference between revisions

Content deleted Content added
Removing hatnote due to article name change rendering it irrelevant.
Updated browser prefixes section
Line 4:
}}
 
A '''CSS filterhack''' is a [[Computer programming|coding]] technique used to hide or show [[Cascading Style Sheets|CSS]] [[Markup language|markup]] depending on the [[Web browser|browser]], version number, or capabilities. Browsers have different interpretations of CSS behavior and different levels of support for the [[W3C]] [[World Wide Web Consortium#Standards|standards]]. CSS filtershacks are sometimes used to achieve consistent layout appearance in multiple browsers that do not have compatible rendering.
 
==Prefix filters==
{{Expand section|date=September 2014}}
 
==Browser Prefixes==
Each of the most popular browser rendering engines has its own vendor-specific prefix for experimental properties. However, due to the proliferation of these properties in live code, the browser vendors have begun to move away from this in favor of user-controlled feature flags.<ref>{{Cite web|url=https://developer.mozilla.org/en-US/docs/Glossary/Vendor_Prefix|title=Vendor Prefix|website=Mozilla Developer Network|access-date=2016-10-12}}</ref> The following is a list of prefixes from various layout engines:
{| class="wikitable"
|-