0

Text area styling.

can someone please give me examples of some cool text area styling using css. can you please mention the attributes which can be used along with the text area tag ?

21st Jul 2018, 9:28 AM
Ansh Sarkar
Ansh Sarkar - avatar
4 Réponses
+ 2
this website has got you covered https://www.w3schools.com/tags/tag_textarea.asp
21st Jul 2018, 9:44 AM
᠌᠌Code X
᠌᠌Code X - avatar
0
thanks
21st Jul 2018, 10:59 AM
Ansh Sarkar
Ansh Sarkar - avatar
0
You can style <textarea> by CSS like a box: padding, border, background-color … By default a <textarea> is styled by the browser (user agent stylesheet) so it looks different depending on the browser of the user. Simply overwrite these styles with your CSS rules. E.g. to get rid of the resizing button at the left bottom, you can write: textarea {resize: none;} Your <textarea> should match to the rest of your form elements and you get also a good guide here: https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/Styling_HTML_forms Happy styling!
21st Jul 2018, 11:10 AM
Tony
Tony - avatar
0
thanks bro
21st Jul 2018, 11:11 AM
Ansh Sarkar
Ansh Sarkar - avatar