I'm trying to showcase a yellow div "icon" at the bottom right corner of its red container "content".
Can someone help me figure out what's incorrect in my code?
.root {
display: inline-flex;
background-color: red;
}
.content {
display: flex;
align-items: centerl;
justify-content: centerl;
height: 80px;
width: 100%;
background-color: red;
}
.icon {
position: absolute;
right: 0;
bottom:0;
background-color: yellow;
}
<div class="root">
<div class="content">
content
</div>
<div class="icon">
icon
</div>
</div>