I'm working on designing a box that displays a list of descriptive characteristics and their corresponding values in a responsive manner. Initially, I attempted to use two unordered lists with floated elements but encountered issues as the browser size changed.
Now, I am experimenting with adding multiple
to create space between the characteristics and values. While this method works when screen sizes are defined using media queries, I'm concerned about how it will appear on larger screens without specific queries.
Is there another way to effectively generate spacing between words?
.gallery {
height: max-content;
background: black;
border-radius: 10px;
border: solid 2px #f0c330;
overflow: hidden;
color: white;
flex: 0 1 48%;
margin-left: 1%;
margin-right: 1%;
<div class="gallery">
<h2>Statistics</h2>
<p class="pdesc"> Height 6ft <br/> Age
36</p>
</div>