Hi, I have a hard time understaning borders using css. So I want to create 3 borders next to each other (horizontally). Then I need to include some text and an image to each of one. Of course, the text and the images should be nested in have to be placed in center.
My code so far:
Learning flexbox might take a bit of time but it (and CSS grid) is well worth the time. Look at YouTube for some tutorials as well.
Here is an example with some comments.
#balls {
/* puts the elements on one line */
display: flex;
/* lets the elements wrap to a new line */
flex-wrap: wrap;
/* center the wrapping */
justify-content: center;
/* add space between the elements */
gap: 2rem;
/* same as max-width and width */
width: min(980px, 90vw);
/* center the container */
margin: auto;
}