有截至9月,這應該是旋轉,我想,我如何將文本旋轉中心與旋轉數
現在我的問題是,文本應居中,以數量文本。
如果我將文本更改爲可能爲,that should also want to be centered with that number
。
我有一個屏幕,我多麼想作爲輸出
這裏是我的小提琴,我試過至今。 JSFIDDLE
這裏是我的代碼
HTML
<div class="width35 fll">
<div class="mgl5">
<div class="section month fll ng-binding">september</div></div>
<div class="section day fs80 mgrt10 mgrt13 mgr30 osb fll ng-binding">03</div>
</div>
CSS
.width35 {
width: 35%;
}
.fll {
float: left;
}
.mgl5 {
margin-left: 5px;
}
.month {
-webkit-transform: rotate(-90deg) translate(-129%, 50%) !important;
font-weight: bold;
font-family: arial;
font-size: 13px;
height: 85px;
width: 20px;
color: #CDCBCB;
}
.mgrt13 {
margin-top: -13px !important;
}
.osb {
font-family: open sans bold;
}
.mgr30 {
margin-right: 30px;
}
.mgrt13 {
margin-top: -13px !important;
}
.mgrt10 {
margin-top: -10px;
}
.fs80 {
font-size: 80px;
}
.day {
width: 68px;
height: 60px;
margin-right: 10px;
font-size: 60px;
font-weight: bold;
color: #A79C9C;
margin-left: -8px;
}
.section {
padding-bottom: 7px;
}
任何幫助表示讚賞。
我接過一看這並不能幫助,但認爲它提醒很重要你:*你不需要使用**全部**課程*。 – 2014-09-29 14:37:27
@DavidThomas:感謝您寶貴的資訊朋友。 – KesaVan 2014-09-29 14:39:57