有截至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