Can anybody provide some assistance? I have a total of four articles that I would like to organize in the following manner:
first one
second one third one fourth one
But for some reason, I am unable to understand what the issue might be?
body {
background-color: #edefee;
font-family: serif;
margin-top: 3rem;
margin-bottom: 3rem;
margin-left: 5%;
margin-right: 5%;
}
h1 {
font-size: 3rem;
}
h2 {
font-size: 2rem;
}
header > img {
display: block;
margin-left: auto;
margin-right: auto;
}
nav ul{
list-style: none;
text-align: center;
}
nav li {
display: inline-block;
}
section {
display: flex;
}
article {
flex: 1;
}
footer {
display: flex;
}
footer div {
flex: 1;
}
The issue is with organizing the articles https://i.sstatic.net/JdUiw.png
Is there anyone who can offer me some help with this matter? I am aiming for a specific result and below is the CSS code that I have utilized.