1
我想爲周,月等設計聚合過濾器。像下面的圖片。 請參閱形象,我想設計的同路如何設計css中的聚合過濾器爲周,月?
圖片:image for which I want to design css
請參閱演示了DEMO
<style type="text/css">
.tag {
/*display: block;*/
border: 1px solid #4f9f4f;
padding: 6px 12px;
font: 12px/17px 'OpenSansLight';
color: #4f9f4f;
text-decoration: none;
}
.tag-leftmost {
border: 1px solid #4f9f4f;
border-bottom-left-radius: 20px;
border-top-left-radius: 20px;
padding: 6px 12px;
font: 12px/17px 'OpenSansLight';
color: #4f9f4f;
text-decoration: none;
}
.tag-rightmost {
border: 1px solid #4f9f4f;
border-bottom-right-radius: 20px;
border-top-right-radius: 20px;
padding: 6px 12px;
font: 12px/17px 'OpenSansLight';
color: #4f9f4f;
text-decoration: none;
}
.tag-center tag{
}
</style>
<div class="col-md-12 col-sm-12">
<a title="week? category" ng-model="today_placement" class="tag-leftmost">Today</a>
<a title="week? category" ng-model="week_placement" class="tag">week</a>
<a title="week? category" ng-model="month_placement" class="tag">month</a>
<a title="week? category" ng-model="year_placement" class="tag-rightmost">year</a>
</div>
感謝Justinas,對答案,你的回答沒有解決我的整個問題,請查看圖片的問題,我想這樣的一個, – Guest
@NeelabhSingh更新例如 – Justinas
同樣的事情我之前在看.. – Guest