R
R
Richard Millie2019-10-15 13:57:21
css
Richard Millie, 2019-10-15 13:57:21

What can replace css content property for IE 11?

What can replace css content property for IE 11 besides background, background-image? I have edit class

<v-icon
class="edit">			
  edit
</v-icon>

I want to change the word edit to an image so that it works in ie11
.edit {
content: url(./../assets/img/icons/edit_no_active.png);
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
NaN, 2019-10-15
@comewithme38

Anatoly Filimonov , you want the impossible.
If you want to add an additional property to the edit class , then write like this:

.edit:before {
 content: url(./../assets/img/icons/edit_no_active.png);
}

If you want to replace the word edit (not in the class) with a picture, then there is already js.
It's not clear what you want to achieve, please clarify.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question