unicode 或 HTML 是否有垂直双 guillemet(V 形)?

发布于 2024-12-15 14:20:49 字数 248 浏览 3 评论 0原文

有谁知道 unicode/HTML 空间中是否存在类似于 » (») 表示的双 guillemet 的双 V 形符号?

换句话说,如果我可以使用文本,我会尽量避免使用图像,但我需要这样的东西:

垂直单 V 形和双 V 形的示例

这是双 V 形,我似乎无法弄清楚。对我来说看起来像是图形。

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

In other words, I'm trying to avoid using an image if I can get by with text, but I need something like this:

Example of vertical single and double chevrons

It's the double chevron I can't seem to figure out. Looks like graphics for me it is.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

楠木可依 2024-12-22 14:20:49

︽ U+FE3D 垂直左双角括号演示表格

︾ U+FE3E 垂直右双角括号演示表格

不过,这些需要中文或日文字体。

︽ 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.

千と千尋 2024-12-22 14:20:49

我无法为您提供您想要的字符实体,但可以实现...替代方案,并且仍然不使用图像(尽管它确实需要将文本本身包装在元素中,在本例中 span):

<span class="shadowed">^</span>
<span class="rotated">»</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 演示

上面的span.rotated部分,对于IE< 10 兼容性(使用过滤器,而 IE 10(或可能 9)将/应该使用 -ms-transform 或简单地 transform CSS3),使用 过滤器方法:

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(适用于IE 7/XP,其他我无法测试的版本)。

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">»</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).

時窥 2024-12-22 14:20:49

旋转有问题。如果将旋转(90 度)和旋转(-90 度)应用于两个单独的 »,您将看到它们的位置发生变化。解决这个问题的一种巧妙方法是应用 Direction: rtl ,如下所示:

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

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文