0
我将一个>
符号添加到引导面板的末尾,以便它在切换时展开面板。如何在CSS中引导面板标题后插入HTML符号?
但是,当我将大于符号的HTML character entity>
添加到此转换的CSS样式。它呈现为符号的HTML代码,而不是符号:
完整的例子,我从位于此处服用此:
http://www.prepbootstrap.com/bootstrap-template/faq-example
你怎么能渲染HTML使用CSS的面板内的特殊字符?
这是我该做旋转字符作为预期,但符号没有显示STYL尝试:
.panel-heading [data-toggle="collapse"]:after {
font-family: Verdana;
content: ">"; /* "play" icon */
float: right;
color: #F58723;
font-size: 18px;
line-height: 22px;
/* rotate "play" icon from > (right arrow) to down arrow */
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
transform: rotate(-90deg);
}