style.css 547 B

123456789101112131415161718192021222324252627282930313233
  1. Edit in JSFiddle
  2. Result
  3. HTML
  4. JavaScript
  5. CSS
  6. html, body, #editor {
  7. margin: 0;
  8. height: 100%;
  9. font-family: 'Helvetica Neue', Arial, sans-serif;
  10. color: #333;
  11. }
  12. textarea, #editor div {
  13. display: inline-block;
  14. vertical-align: top;
  15. box-sizing: border-box;
  16. padding: 0 20px;
  17. }
  18. textarea {
  19. border: none;
  20. border-right: 1px solid #ccc;
  21. resize: none;
  22. outline: none;
  23. background-color: #f6f6f6;
  24. font-size: 14px;
  25. font-family: 'Monaco', courier, monospace;
  26. padding: 20px;
  27. }
  28. code {
  29. color: #f66;
  30. }