Я хочу разделить деление на два столбца, чтобы
в левой части
данные должны быть плавающими: вправо;
в правой части
данные должны быть с плавающей точкой: слева;
Пример HTML-кода
<div class="text-center">
<p class="Project_Analytics_Heading">Time per Department</p>
<div class="graph_bar_text" class="text-right">
iOS
</div>
<div class="text-left">
<button mat-button class="graph_bar_button" [style.width.px]="(g1 * 2)">
<span class="graph_bar_percentage">
{{g1}}%
</span>
</button>
</div>
<div class="graph_bar_text" class="text-right">
Android
</div>
<div class="text-left">
<button mat-button class="graph_bar_button" [style.width.px]="(g2 * 2)">
<span class="graph_bar_percentage">
{{g2}}%
</span>
</button>
</div>
<div class="graph_bar_text" class="text-right">
Angular
</div>
<div class="text-left">
<button mat-button class="graph_bar_button" [style.width.px]="(g3 * 2)">
<span class="graph_bar_percentage">
{{g3}}%
</span>
</button>
</div>
</div>
классы CSS
.graph_bar_text{
font-family: AvenirNext;
font-size: 13px;
font-weight: 500;
font-style: normal;
font-stretch: normal;
line-height: normal;
letter-spacing: 0.1px;
color: #9b9b9b;
}
.graph_bar_button{
height: 28px;
max-width: 200px;
box-shadow: 0 9px 54px 0 rgba(66, 133, 244, 0.37);
border-radius: 12.5px;
background-color: #4285f4;
margin-left: 22px;
}
.graph_bar_percentage{
float: left;
font-family: AvenirNext;
font-size: 13px;
font-weight: 500;
font-style: normal;
font-stretch: normal;
line-height: normal;
letter-spacing: 0.1px;
color: #ffffff;
}
Получение выхода
![enter image description here](https://i.stack.imgur.com/I1QtC.png)
Требуемый вывод
![enter image description here](https://i.stack.imgur.com/SY8Rv.png)
Я упомянул похожий вопрос
Разделение деления на 2 столбца с использованием CSS
и http://www.cssdesk.com/d64uy
Комментарии приветствуются