Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS tag {content: url()} #2937

BirgitPohl opened this issue Oct 27, 2016 · 4 comments

CSS tag {content: url()} #2937

BirgitPohl opened this issue Oct 27, 2016 · 4 comments


Copy link

@BirgitPohl BirgitPohl commented Oct 27, 2016

I read a little discussion on this page and I wanted to check the status of Firefox on since the discussion is some years old.
I couldn't find CSS content on
Hereby I am requesting it as a new little feature.

Copy link

@pavlito pavlito commented May 30, 2017

Also looking for this info....

Copy link

@olthof olthof commented Sep 19, 2018

This would be a great addition!

Copy link

@mkramek mkramek commented Feb 10, 2019

Hi there, still needed! It'd be awesome to have compatibility info 😄

Copy link

@TomAnthony TomAnthony commented Sep 19, 2019

I was also looking for this.

There is which speaks specifically about the content attribute for ::before and ::after pseudo-elements but not about its wider support.

The accepted answer on this related StackOverflow question states:

The other answer using CSS gives the right idea, but it is not compatible with all browsers. The content property of the CSS is only allowed in the pseudo-elements ::before and ::after.

However, in my testing - content() does work on the latest desktop versions of Chrome, Firefox and Safari, but has no caniuse entry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

6 participants