+ 1
[SOLVED] How to align it in same lane?
https://sololearn.com/compiler-playground/WpcagVoCUwVO/?ref=app Is it possible to align that red part in same lane WITHOUT TOUCHING html code?
3 Respuestas
+ 1
use
justify-content:space-between;
.songItem{
display:flex;
justify-content:space-between;
gap:7px;
background-color:white;
width:30vh;
border-radius:10px;
border:2px solid black;
}
i would also suggest a bit of padding and margin so that it would not look too squeezed-in and crowded together.
0
Bob_Li
Where to use paddling and margin?
From serial numbers?
0
something like:
.songItem{
padding: 2px 3px;
margin: 8px;
...
}