Item width increase dynamically according to the content in single row?

Hello Sir,
I have used

 <div class="item row row-item acs-width" ng-repeat="x in 
accountStatmentList.accountStatementNodes ">
          div class="acs-col-left acs-slno">{{x.slNo}}
          div class="acs-col-left col-sep acs-date-amout">{{ x.transactionDate}}
          div class="acs-col-right col-sep acs-date-amout">{{x.debtAmount}}</div
          div class="acs-col-right col-sep acs-date-amout">{{ x.creditAmount }}</div
             div class="acs-col-right col-sep acs-date-amout">{{ x.balance  }}</div
               div class="acs-col-left col-sep acs-narration">{{ x.naration}}</div


My css:

.acs-width { width: 300%; }

    width: 10%;
    width: 35%;
width: 150%;
.acs-col-right {
  text-align: right;
  padding: 0px 0px 0px 0px !important;

.acs-col-sep {
  border-left: 1px solid lightgray;

.acs-col-left {
  padding: 0px 0px 0px 0px !important;

i want to show data in the column and increase column according to the content. That means if it content large its column will be large. it content small its column will be small
My data is showen like below. Its column width is not fit according to the content…

How to do it?
Please Help me…

Can you please provide a codepen for this.

Hello mhartington,
Thanks you for your reply. My project is database related. I need view data in a table. Table will be scroll vertical and horizontal. Table has at least 8 column and vertically infinite.

Can you please suggest me and give idea how to do it?

Would you please provide a codepen with some mock data

Hello Sir,
My github link:
My codepage Link:

I did not understand codepane. I just copy my code my html to html, css to css, js to js.