Html
    Css
    Js
.container-tit-sort > a {
	width:90px;
	height:50px;
	line-height:50px;
	float:left;
	font-size:28px;
	color:#999;
	text-align:center;
	border-bottom:2px solid #d0cccc;
	text-decoration:none;
}
.container-tit-sort > a.active i:before {
	content:'↓';
	position:absolute;
	margin-top:-10px;
	margin-left:-5px;
}
.container-tit-sort > a.active i {
	width:14px;
	height:24px;
	display:inline-block;
	list-style:outside none none;
	font-style:normal;
	color:red;
}
.container-tit-sort > a.active i.down:before {
	content:'↑';
	position:absolute;
}
.container-tit-sort > a.active {
	border-bottom-color:#fc5f61;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

排序选中切换

0