title: When two dives with the same class select first div
body: <p>would be glad if someone would help :)</p>
  <p>Depending on the situation, there are two possibilities. Two divs with the same class side by side, and div with different classes, depending on the situation I would like to add css to the first div with class image when next to is albo div with class image</p>
  <p>1.</p>
  <pre><code>&lt;div class=&quot;image&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;image&quot;&gt;&lt;/div&gt;
  </code></pre>
  <ol start="2">
  <li>  
    
  <p>.image {
  padding-right: 40px;
  }</p>
  </li>
  </ol>
  <p>Is it possible two give some rule like below but only for the first div with class image when the second div with class image is next to.</p>
  <pre><code>.image + .image {
     padding-right: 5px
  }
  </code></pre>