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  PHP code snippet - How to count the characters in laravel?

Leave a Reply

Your email address will not be published. Required fields are marked *

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