Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
This function returns a live image generated from an arbitrary HTML element, taking into account any CSS rules that may be set up for that element.
Last updated on : 2023-03-20
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
CSS Image Values and Replaced Content Module Level 4 # element-notation
element(id)
CSS element() function on IE is not supported on any IE versions.
CSS element() function on Edge is not supported on any Edge versions.
CSS element() function on Firefox is fully supported on 4-113 and partially supported on 2-3 Firefox versions.
CSS element() function on Chrome is not supported on any Chrome versions.
CSS element() function on Safari is not supported on any Safari versions.
CSS element() function on Opera is not supported on any Opera versions.
CSS element() function on Safari on iOS is not supported on any Safari on iOS versions.
CSS element() function on Android Browser is not supported on any Android Browser versions.
CSS element() function on Opera Mobile is not supported on any Opera Mobile versions.
CSS element() function on Chrome for Android is not supported on any Chrome for Android versions.
CSS element() function on Firefox for Android is fully supported on all Firefox for Android versions.
CSS element() function on Samsung Internet is not supported on any Samsung Internet versions.
Data sourced from
Overall Browser Compatibility Score
Note:CSS element() function shows a browser compatibility score of 17. This is a collective score out of 100 to represent browser support of a web technology. The higher this score is, the greater is the browser compatibility. The browser compatibility score is not a 100% reflection for every browser and the web technology support. However, it does give you an estimate on how much you should rely on a particular web technology in terms of browser compatibility.
Test on 3000+ browsers for CSS element() function & more
Test your website for CSS element() function and other web technologies. Get 100 FREE automation test minutes!
Test NowKaneAI - Testing Assistant
World’s first AI-Powered E2E testing agent.
Did you find this page helpful?