I am seeking to change the background color of multiple textareas on my website from the default white.
textarea
{
background-color:Red;
width:120px;
height:80px;
}
<textarea>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</textarea>
The code snippet above is functioning as intended, except for when it is applied to a resizable textarea in Firefox that also contains a scrollbar.
In this scenario, both the background and the draggable corner at the lower-right of the textarea turn red, causing an undesirable appearance due to the overlap with the scrollbar.
Is there a CSS-only solution to either color the scrollbar or exclude coloring the draggable corner?