To add an inner border to an image, you can add the following CSS code to your style.css file:
img {
outline: 1px solid white;
outline-offset: -6px;
}
Change the offset and the outline colour to your liking.
To add an inner border to an image, you can add the following CSS code to your style.css file:
img {
outline: 1px solid white;
outline-offset: -6px;
}
Change the offset and the outline colour to your liking.
simple and effective img border
Thanks a lot!
Really great solution! Thanks a lot
very best and lovely example code
Keep up posting googd tutorials
thank you this helped me to have border inside my video
so useful, tysm