Home > Back-end >  How to increase resizing corner of textarea in css?
How to increase resizing corner of textarea in css?

Time:11-14

I need to increase the resizing (right-bottom) corner of textbox for better accessibility. Is there some way to do it with css?

CodePudding user response:

You can use the ::-webkit-resizer pseudo-element to add styling rules to resizing controls.

::-webkit-resizer {
    border: 2px solid red;
    outline: 2px solid yellow;
}
<textarea></textarea>
<iframe name="sif1" sandbox="allow-forms allow-modals allow-scripts" frameborder="0"></iframe>

Compatibility: https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar#-webkit-resizer

CodePudding user response:

Add the property resize: none; to the <textarea> element.

  • Related