I am trying to implement the following CSS:
.sky:focus {border-radius: 25px; border: #000 solid 1px; outline: none}
And my HTML looks like this:
<a class='sky' href='#'><img src='cloud.jpg'></a>
I want a 25px border-radius on the focus, but it doesn't seem to be working. How can I set the border-radius on focus for the image inside an anchor tag?
Expected result: https://i.sstatic.net/N4F3K.png
Current result: https://i.sstatic.net/wlrO3.png
Thank you for your help in advance :)