d
Amit DhamuSoftware Engineer
 

Target By Attribute

1 minute read 00000 views
a[rel='lightbox'] {
  /* targets all anchor tags with lightbox as their rel value */
}

input[type='text'] {
  /* targets all text inputs */
}

h1[title='heading'] {
  /* targets all h1 tags with the title heading */
}