I'm facing a challenge with aligning my image right next to the heading. Specifically, I want it to be placed next to "Sample Text".
Currently, the container that includes the heading and emoji is set as a flexbox
.
.container{
display:flex;
.heading-text {
font-weight: 400;
font-size: 24px;
line-height: 1.33;
}
.emoji-img{
display: flex;
flex-direction: column;
align-items: center;
align-self: flex-end;
}
}
I've attempted using grid
as well but haven't found a solution yet. Any suggestions on what else can be done?