Hello good afternoon and evening, I would like someone's help since I can't find a solution to this "problem", what I want is to make each "px" a blank space, through the flex property of css , I will put an image so that you can see how my idea is ;). Thanks a lot

Hi, the flex CSS property is really super powerful depending on how you use it and what your needs are. In my example for the items I do not use absolute values to assign them a specific size. I do it with respect to the visual field that the container occupies. Test the code in a browser and see how it behaves. With the code inspector you can play with many values.
.contenedor { display: flex; height: 100vh; width: 100vw; background: #000; flex-direction: column; flex-wrap: wrap; justify-content: space-around; align-items: center; } .item { display: flex; background: #dadada; width: 30vh; height: 30vw; align-items: center; justify-content: center; } <div class="contenedor"> <div class="item">ITEM 1</div> <div class="item">ITEM 2</div> <div class="item">ITEM 3</div> <div class="item">ITEM 4</div> <div class="item">ITEM 5</div> <div class="item">ITEM 6</div> </div>