Advertisement
Guest User

Textarea properties

a guest
Jul 31st, 2014
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.75 KB | None | 0 0
  1. code, textarea {
  2.     font-family: "Courier New",monospace;
  3. }
  4. input:-moz-read-write, textarea:-moz-read-write {
  5.     -moz-user-modify: read-write !important;
  6. }
  7. textarea {
  8.     -moz-appearance: textfield-multiline;
  9.     -moz-binding: url("chrome://global/content/platformHTMLBindings.xml#textAreas");
  10.     -moz-user-select: text;
  11.     background-color: -moz-field;
  12.     border: 2px inset threedface;
  13.     color: -moz-fieldtext;
  14.     cursor: text;
  15.     font: medium -moz-fixed;
  16.     letter-spacing: normal;
  17.     margin: 1px 0;
  18.     padding: 0 1px;
  19.     resize: both;
  20.     text-align: start;
  21.     text-indent: 0;
  22.     text-rendering: optimizelegibility;
  23.     text-shadow: none;
  24.     text-transform: none;
  25.     vertical-align: text-bottom;
  26.     word-spacing: normal;
  27.     word-wrap: break-word;
  28. }
  29. textarea > .anonymous-div, input > .anonymous-div, input::-moz-placeholder, textarea::-moz-placeholder, *|*::-moz-button-content, *|*::-moz-display-comboboxcontrol-frame, optgroup:before {
  30.     text-overflow: inherit;
  31.     unicode-bidi: inherit;
  32. }
  33. textarea::-moz-placeholder {
  34.     white-space: pre-wrap !important;
  35. }
  36. input::-moz-placeholder, textarea::-moz-placeholder {
  37.     display: inline-block !important;
  38.     opacity: 0.54;
  39.     overflow: hidden !important;
  40.     pointer-events: none !important;
  41.     resize: none !important;
  42. }
  43. textarea > .anonymous-div, input > .anonymous-div, input::-moz-placeholder, textarea::-moz-placeholder {
  44.     -moz-control-character-visibility: visible;
  45.     border: 0 none !important;
  46.     display: inline-block;
  47.     ime-mode: inherit;
  48.     margin: 0;
  49.     overflow: auto;
  50.     padding: inherit !important;
  51.     resize: inherit;
  52.     text-decoration: inherit;
  53.     white-space: pre;
  54. }
  55. body {
  56.     font-family: sans-serif;
  57.     font-size: 16px;
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement