CSS :read-only Selector
The :read-only selector selects an element that is not editable by the user.
One use of readonly form controls is to allow the user to check and verify information that they may have entered in an earlier form (for example, shipping details), while still being able to submit the information along with the rest of the form. We do just this in the example below.
The :read-only pseudo-class is used to remove all the styling that makes the inputs look like clickable fields, making them look more like read-only paragraphs.
The numbers in the table specify the first browser version that fully supports the property.