highlight.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <style>
  2. .marker {
  3. background-color: #ffff66;
  4. }
  5. .marker-green {
  6. background-color: #66ff00;
  7. }
  8. .marker-pink {
  9. background-color: #ff6fff;
  10. }
  11. .pen-red {
  12. background-color: transparent;
  13. color: #ff0000;
  14. }
  15. .pen-blue {
  16. background-color: transparent;
  17. color: #0000ff;
  18. }
  19. </style>
  20. <div id="editor">
  21. <p>Lorem
  22. <mark class="marker">ipsum dolor sit amet</mark>
  23. , consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et <mark class="pen-red">dolore magna</mark> aliqua. Ut enim ad minim veniam, quis
  24. nostrud exercitation ullamco
  25. <mark class="pen-blue">laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
  26. velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
  27. </mark>
  28. cupidatat non proident, sunt in culpa qui officia
  29. deserunt mollit anim id est laborum.
  30. </p>
  31. <p>Lorem ipsum dolor sit amet, consectetur
  32. <mark class="marker-green">adipiscing elit</mark>
  33. , sed do eiusmod tempor incididunt ut labore et dolore magna
  34. <mark>aliqua. Ut enim ad minim veniam</mark>
  35. , quis nostrud exercitation ullamco
  36. <mark class="marker-pink">laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit
  37. esse cillum dolore eu
  38. </mark>
  39. fugiat nulla pariatur.
  40. <mark class="pen-red">Excepteur</mark>
  41. sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est
  42. laborum.
  43. </p>
  44. </div>