Question

I ve searched many times in google ,stackoverflow,html chars sites but I did not find what I need please help me about this:

I need this icon, representing a share action, as html unicode sequence:

enter image description here

please help

thanks in advance

Était-ce utile?

La solution

Short answer: no.

Long answer: https://en.wikipedia.org/wiki/List_of_Unicode_characters


As a minor aside / workaround for a bit of fun:

DEMO: http://jsfiddle.net/8rzgv/

<span class="share">&lt;</span>

.share {
    font-weight: bold;
    position: relative;
}
.share:before {
    content: ".";
    font-size: 2.2em;
    position: absolute;
    bottom: -2.5px;
    left: -4px;
}
.share:after {
    content: ":";
    font-size: 2em;
    position: absolute;
    bottom: -6px;
    right: -7px;
}

Autres conseils

Since that share symbol doesn't exist on unicode range u0000-uFFFF, you may use instead an iconic font and import that symbol. E.g., if you look at http://fontello.com/ and you search for "share" you will find a similar symbol under Entypo font

enter image description here

(with Entypo the unicode sequence is \uE800). These fonts are also in SVG format and the size/color/tickness of the symbols can be managed by CSS properties

As far as I know it doesn't exists, and even if so, there is a very hight chance (like 99%) that the browser will not display it correctly. Try to use the brail coding, in particular this one is very similar to your needs: https://en.wikipedia.org/wiki/%E2%A0%AA

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top