Issue: The blue block is getting out of the section due to the transform property set as rotate. How can this be resolved?
https://i.sstatic.net/F0exR.png
section {
padding: 10px 0 40px;
background: #ececec;
height: 1600px;
}
.filter {
display: inline-block;
font-size: 16px;
color: white;
background: blue;
position: sticky;
left: 0;
top: 50%;
transform: translate(-44%, -50%) rotate(-89deg);
padding: 6px 54px;
}
Lorem ipsum dolor sit amet consectetur adipisicing elit ... lipstickisicing.