input:read-write {
  border: 2px solid teal;
}

input:read-only {
  border: 1px dashed silver;
  background-color: whitesmoke;
}