Does unicode or HTML have a vertical double guillemet (chevron)?

前端 未结 4 1253
隐瞒了意图╮
隐瞒了意图╮ 2020-12-31 02:16

Does anybody know if there\'s a double chevron symbol in unicode/HTML-space similar to the double guillemet represented by » (»)?

In oth

相关标签:
4条回答
  • 2020-12-31 02:27

    I can't give you the character entity that you want, but it's possible to effect an...alternative, and still not use images (though it does require that the text itself be wrapped in an element, in this case span):

    <span class="shadowed">^</span>
    <span class="rotated">&raquo;</span>
    

    CSS:

    span { /* this is all, pretty much, just for the aesthetics, and to be adapted */
        margin: 0 auto 1em auto;
        font-family: Helvetica, Calibri, Arial, sans-serif;
        font-size: 2em;
        font-weight: bold;
        color: #000;
        background-color: #ffa;
        display: block;
        width: 2em;
        height: 2em;
        line-height: 2em;
        border-radius: 0.5em;
        text-align: center;
    }
    
    span.shadowed {
        text-shadow: 0 0.5em 0 #000;
    }
    
    span.rotated {
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
    

    JS Fiddle demo.

    The above span.rotated section, for IE < 10 compatibility (using filters, whereas IE 10 (or possibly 9) would/should use the -ms-transform or, simply, transform CSS3), using a filter approach:

    span.rotated {
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        transform: rotate(-90deg);
        /* IE < 10 follows */
        filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    }​
    

    JS Fiddle demo (works in IE 7/XP, other versions I'm unable to test).

    0 讨论(0)
  • 2020-12-31 02:31

    ︽ U+FE3D PRESENTATION FORM FOR VERTICAL LEFT DOUBLE ANGLE BRACKET

    ︾ U+FE3E PRESENTATION FORM FOR VERTICAL RIGHT DOUBLE ANGLE BRACKET

    These require a Chinese or Japanese font though.

    0 讨论(0)
  • 2020-12-31 02:36

    There's a problem with rotation. If you apply rotation(90deg) and rotation(-90deg) to two separate » you'll see that their position changes. A hacky way to fix it is to apply direction: rtl like this:

    http://codepen.io/tomasz86/pen/lmCaL

    0 讨论(0)
  • 2020-12-31 02:46

    May be this site will help you http://shapecatcher.com/ , very useful!

    0 讨论(0)
提交回复
热议问题