.ed {
  padding: 0.5rem;
  border: 1px solid silver;
}

.ed::spelling-error {
  background-color: mistyrose;
}

.ed::grammar-error {
  background-color: honeydew;
}