I have a very simple HTML layout show here...
body{
background:teal;
}
#mycontent{
background:wheat;
text-align:center;
padding:20px;
margin:20px;
}
<div id="mycontent">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut sed turpis arcu. Mauris ultricies eget nisl quis auctor. Mauris magna lorem, sodales at posuere interdum, sodales quis purus. Nam non augue quis urna accumsan mattis nec eget mi. Pellentesque at tempus elit. Sed eu enim nunc. Suspendisse rhoncus id nibh id maximus. Cras volutpat efficitur sem, at volutpat nisl porttitor quis. Fusce pellentesque lacus odio, vitae scelerisque metus placerat et. Duis a felis dui. Aenean ante neque, condimentum a massa sed, eleifend porttitor elit.
</div>
I am tyring to fade out the left and right edges of the div and its content. I have seen various options but am not sure which one is best to go for.
CSS mask-image is listed as experimental so not sure that is the best approach here.
What is my best option to achieve this?