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  Python code snippet - How to check datatype of column in dataframe ?

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.