During the hours of 11:30 to 16:00, I tuned in to a video on frontend development. This period of time led me to explore different design elements and coding techniques.
<div class="title-wrapper">
<h2 class="title title--purple"><span>Live Auctions</span></h2>
</div>
.title {
font-family: 'Oxanium',
font-weight: 700;
font-size: 64px;
line-height: 130px;
color: #F5FBF2;
position: relative;
&:after {
content: '';
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%) translateX(-40%);
background: #8613A5;
width: 110px;
height: 110px;
border-radius: 50%;
}
span {
text-align: center;
position: relative;
z-index: 2;
}
}
.title-wrapper {
display: flex;
justify-content: center;
}
This exploration resulted in an image capture showcasing the Live Auctions title.
Click here to view the screenshot.
How can CSS properties such as "top: 50%;", "left: 0;", and "transform: translateY(-50%) translateX(-40%);" be used creatively to emphasize specific elements like the letter L with a lilac circle?
I am looking for assistance in implementing this layout effectively. Can someone lend a hand?