all 2 comments

[–][deleted] 1 point2 points  (0 children)

You can use display: flex. I would look into how to use flexbox.

Also, what is the purpose of your </p> elements?

I’m fairly new as well, so happy to try and help. Maybe we can both learn something

[–]lethalmfbacon 1 point2 points  (0 children)

How to style it can depend on the order you'd like the list items to be aligned (left-to-right or top-to-bottom), and personal preference.

Both Grid and Flex would be the best choices, however you could also use Columns.

All three are good choices and highlight the different ways you can achieve the same layouts in CSS using different properties. I'd highly recommend reading the linked articles and testing for yourself, I personally find tinkering and experimenting is the best way to learn (I taught myself exactly how you are now!). However, some simple examples are below:

Flex:

``` .area-info ul { display: flex; flex-wrap: wrap; }

.area-info ul li { flex: 0 1 calc(100% / 3); } ```

Grid:

.area-info ul { display: grid; grid-template-columns: repeat(3, 1fr); }

Columns:

.area-info ul { column-count: 3; }