Skip to content

CSS code snippet – How to select button by type ?

/* How to select an element by it type with CSS*/
a[target] {
  background-color: yellow;
}

/*example */

button[type="submit"] {
  background-color: yellow;
}
See also  How to do backup to website in PHP?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.