How to add style to webp images : <p>my code looks like</p>

<pre><code>&lt;picture&gt;
  &lt;source type="image/webp" srcset="img/photo.webp"&gt;
  &lt;source type="image/jpg" srcset="img/photo.jpg"&gt;
  &lt;img src="img/photo.jpg" alt=""&gt;
&lt;/picture &gt;
</code></pre>

<p>I want to add class to this picture so I can use border-radius. how can I do that?</p>
