Hello,
I am wondering if its possible to remove the default blue and yellow glow when I click on a text input / text area using CSS?
Thank you for your time.
Hello,
I am wondering if its possible to remove the default blue and yellow glow when I click on a text input / text area using CSS?
Thank you for your time.
textarea, input{ outline:none;}
Although, it's been argued that keeping the glow/outline is actually beneficial for accessibility as it can help users see which Element is currently focused.
On textarea resizing in webkit based browsers:
Setting max-height and max-width on the textarea will not remove the visual resize handle. Try:
resize: none;
(and yes I agree with "try to avoid doing anything which breaks the user's expectation", but sometimes it does make sense, i.e. in the context of a web application)
To customize the look and feel of webkit form elements from scratch:
-webkit-appearance: none;