<span>span1</span>
<span>span2</span>
<span>span3</span>
<div>div1</div>
span, div {
  background: yellow;
  border: 1px solid red;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.