While attr()
is supported for effectively all browsers for the content property, CSS Values and Units Level 3 adds the ability to use attr()
onany CSS property, and to use it for non-string values (e.g. numbers, colors). The attr() CSS function is used to retrieve the value of an attribute of the selected element and use it in the style sheet. It can also be used on pseudo-elements, in which case the value of the attribute on the pseudo-element's originating element is returned.
With LambdaTest you can test your website on 2000+ browser and OS combinations for cross browser compatibility issues and ensure that your webpage fallbacks are working fine on browsers that do not support CSS3 attr() function for all properties
.
CSS3 attr() function for all properties
CSS3 attr() function for all properties element is not supported by Chrome.
This element is not supported by Mozilla Firefox browser.
IE browser doesn't support this web element.
Safari browser doesn't support this web element.
This browser element is not supported by Microsoft Edge browser.
As other browsers, Opera is also not compatible with this browser property.
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
All websites and webapps use collections of a lot of browser technologies and elements. Not all of these elements are supported by all browsers and browser versions. At LambdaTest you can test your website on all browsers and browser versions and easily debug browser compatibility issues in real time.
You can test your website for cross browser compatibility across all Firefox browser versions using LambdaTest
Perform cross browser testing of your website/ webapp across all Chrome browser versions using LambdaTest
Check your website on all Safari browser on Mac and Windows for cross browser compatibility with LambdaTest
Perfrom cross browser testing of your website/ web app across all IE verions using LambdaTest
Our plans starts with a free plan where you access to all features and free 60 minutes of live testing per month.
Need support for a larger team? We have very flexible plans and if they don’t suffice, leave us a message here, and we would help you out.