我是靠谱客的博主 高贵鸭子,这篇文章主要介绍插入符号caret,现在分享给大家,希望可以做个参考。

.caret  在Bootstrap中的作用,写出一个“下拉箭头”,如图:

其具体css样式为:

.caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
border-top: 4px dashed;
border-top: 4px solid 9;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
}

二、直接用css样式写出来的的方法

在html中用一对b标签嵌入,

 
 

 其css代码如下:

#my_jd b {
border-style: solid;
border-width: 5px;
border-color: #CCC transparent transparent transparent;
line-height: 27px;
/* cursor: pointer;*/鼠标样式
position:relative;
top:10px;
right:-3px;/*位置调整*/
}

 

 

转载于:https://www.cnblogs.com/shuimuDT/p/6099520.html

最后

以上就是高贵鸭子最近收集整理的关于插入符号caret的全部内容,更多相关插入符号caret内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(48)

评论列表共有 0 条评论

立即
投稿
返回
顶部