为什么bootstrap会使用X图标作为关闭按钮?

时间:2014-04-15 23:00:07

标签: twitter-bootstrap user-interface

我总是想知道为什么bootstrap没有使用X图标作为关闭按钮。

有没有理由不使用标准X?

示例:

bootstraop modal

标准X(gmail.com):

enter image description here

2 个答案:

答案 0 :(得分:7)

它使用“x”,它使用此字符是准确的:××

Bootstrap Modal dialog, X close button

http://getbootstrap.com/javascript/#modals

在您的屏幕截图中,它看起来像俄语ч,您是否碰巧使用西里尔语操作系统?

答案 1 :(得分:4)

模态使用HTML实体进行"次" (如乘法),×Bootstrap site上演示的源代码是:

<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> 

我不确定为什么它会被渲染为不同的东西,它会在我查看该页面的所有浏览器中呈现为x

enter image description here