I'm facing an issue with positioning two <h3>
tags, one labeled “Coding Skills” and the other “Professional Skills”, into separate columns. My aim is to have "Professional Skill" in the column to the right of "Coding Skills", creating a two-column layout.
The problem I'm encountering is that "Professional Skills" currently appears below "Coding Skills", and I'm unsure how to move it up so they align into two distinct columns - one for "Coding Skills" and one for "Professional Skills".
Any assistance on resolving this would be greatly appreciated. Thank you.
.skills {
min-height: auto;
padding-bottom: 7rem;
background: var(--second-bg-color);
}
.skills .skills-row {
display: flex;
flex-wrap: wrap;
gap: 5rem;
}
.skills-row .skills-column {
flex: 1 1 calc(50% - 2.5rem);
max-width: calc(50% - 2.5rem);
box-sizing: border-box;
}
.skills-box .skills-content {
position: relative;
border: .2rem solid var(--main-color);
border-radius: .6rem;
padding: .5rem 1.5rem;
}
.skills-column .title {
font-size: 2rem;
margin: 0 0 1.5rem;
}
.skills-content .progress {
padding: 1rem 0;
}
.skills-content .progress h3 {
font-size: 1.7rem;
display: flex;
justify-content: space-between;
}
<section class="skills" id="skills">
<h2 class="heading">My <span>Skills</span></h2>
<div class="skills-row">
<div class="skills-column">
<h3 class="title">Coding Skills</h3>
<div>-- Coding Skills Content --</div>
</div>
<div class="skills-column">
<h3 class="title">Professional Skills</h3>
<div>-- Professional Skills Content --</div>
</div>
</div>
</section>