-2

I am trying to merge:

span[itemprop='description']
{
 color:#8395a7;
 font-size:smaller;
}

And

span[itemprop='streetAddress']
{
 color:#8395a7;
 font-size:smaller;
}

This question has been asked before here but it didn't work for me. I tried this and it failed:

span[itemprop='description'][itemprop='streetAddress']
{
 color:#8395a7;
 font-size:smaller;
}

Any idea how to merge these?

Thanks!

Paulie_D
  • 102,164
  • 10
  • 117
  • 144
Henry
  • 4,773
  • 6
  • 20
  • 31
  • 1
    Does this answer your question? [Combine CSS Attribute Selectors](https://stackoverflow.com/questions/2942286/combine-css-attribute-selectors) – Rayees AC Aug 20 '20 at 06:31

1 Answers1

1

Here is the working example:

span[itemprop='description'], span[itemprop='streetAddress']
{
 color:#8395a7;
 font-size:smaller;
}
<span itemprop="description">I am description.</span>
<span itemprop="streetAddress">I am address.</span>
Yogendra Chauhan
  • 690
  • 3
  • 15