Y
Y
You can just Eugene2018-06-15 22:58:25
css
You can just Eugene, 2018-06-15 22:58:25

How to render progress line for IE9 without flexbox?

5b241a2cc7378187315916.png
Need to make it work for IE9 as well, unfortunately flexbox doesn't work there. How would you do? given that there can be from 2 to 6 points, the first and last that was at the edges, and the rest were evenly aligned ...
PS I need to do it quickly, but the nerves are no longer a rope) I tried it in different ways, maybe someone has a good idea

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey delphinpro, 2018-06-16
@EM-CODER

A fixed table distributes cells evenly, like space-between in flex.
From here you dance

.progress
  .cell

.progress { display: table; table-layout: fixed; width: 100%; }
.cell { display: table-cell; }

You may need to add a wrapper for table-row
Relative Cells, or inside an add. container with relative.
Add points inside, scatter with absolute along the borders of the cells.

P
Programmir, 2018-06-16
@Programmir

Throw in IE9)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question