My goal is to arrange div elements on a timeline based on an array of floats ranging from 0 to 1. The idea is to have the elements positioned along the timeline according to these float values, with 0 representing the beginning and 1 indicating the end.
let events = [0, 0.25, 0.5, 1]
I am working with AngularCLI and thinking that using *NgFor to iterate through my list might be a good approach. However, placing CSS elements in the correct proportions using the values in my array seems to be a challenge.
Here's a visual representation of what I am aiming for: