Here is the code for the section element:
<section id="about-section">
<div id="about-left">
<h1 id="about-header">...,</h1>
<p class="about-text">... <b>...</b> ... <a class="link" href="https://www.ivytech.edu/about-ivy-tech/">Ivy Tech</a> ... </i>. ... <b>...</b> ...</i>.</p>
<p class="about-text">... <b>...</b> ...</i>. ... <i>...</i> 😅.</p>
<p class="about-text"><i>...</i>, ... <a class="link" href="https://scratch.mit.edu/">Scratch</a> ... <a class="link" href="https://github.com/SkriptLang/Skript">SkriptLang</a> ... <i>...</i>.</p>
</div>
<div id="about-right">
<Image src={Me_Suited} id="about-image" alt="..." width={500} height={500}/>
</div>
</section>
CSS
#about-section {
max-height: fit-content;
position: relative;
min-width: 100%;
display: flex;
justify-content: space-around;
align-items: center;
}
#about-header { font-size: clamp(1.3rem, 2.8vw, 3rem); }
/* Description of myself */
#about-left {
display: flex;
flex-direction: column;
justify-content: center;
gap: 1rem;
width: 50%;
min-height: 100%;
}
.about-text {
font-size: clamp(1rem, 1.5vw, 1.4rem);
line-height: 2rem;
text-indent: 2rem;
}
/* Image of myself */
#about-right {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100%;
}
#about-image {
width: clamp(250px, 35vw, 500px);
height: clamp(250px, 35vw, 500px);
max-height: 500px;
border-radius: var(--main-border-radius);
animation: image-change 60s ease-in infinite;
}
@media (max-width: 1000px) {
#about-section {
padding-top: 25px;
gap: 25px;
flex-direction: column-reverse;
justify-content: space-evenly;
}
#about-left { min-width: 100%; }
#about-header { text-align: center; }
#about-image { border-radius: var(--secondary-border-radius); }
}
The scores came back as:
section#about-section : 0.205 (CLS Contribution)
i : 0.012 (CLS Contribution)
How can I remove this huge CLS contribution? Because of this 0.205 CLS Contribution the Performance score is 89.