HTML代碼都一樣:股利行除了第一個
<div ng-repeat="characteristic in test.testChar" class="row" >
<div class="col-xs-9 rec">
<div class="rec2" ng-bind-html="translateCharacteristicLabel('test',test.testChar[$index + 1].cell_header) | to_trusted"></div>
</div>
</div>
CSS:
.row {
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -moz-flex;
display: -ms-flexbox;
display: flex;
padding: 5px;
width: 100%;
}
.rec{
font-size: 16px !important;
text-transform: uppercase;
display: inline-block;
white-space: nowrap;
margin-left: 50%;
clear: left;
}
.rec2{
font-size: 16px !important;
text-transform: uppercase;
display: inline-block;
white-space: nowrap;
clear: left;
}
有了上面的代碼,我能夠創建低於設計:
正如你所看到的TYPE文本略低於其餘的。我怎樣才能讓這一切都保持一致? (在所有在一行中)
您可以添加獲取呈現實際的HTML? –