CSS offers various ways to style images, making them more visually appealing. Common styles include borders, rounded corners, shadows, and more.
This example demonstrates how to add a border around an image:
<div class="border-image">
<img src="../../image1.jpg" alt="Example Image">
</div>
This example shows how to apply rounded corners to an image:
<div class="rounded-image">
<img src="../../image1.jpg" alt="Example Image">
</div>
This example demonstrates how to add a shadow effect to an image:
<div class="shadow-image">
<img src="../../image1.jpg" alt="Example Image">
</div>
This example demonstrates how to create a circular image:
<div class="circle-image">
<img src="../../image1.jpg" alt="Example Image">
</div>
This example shows a thumbnail style with a border, padding, and shadow:
<div class="thumbnail-image">
<img src="../../image1.jpg" alt="Example Image">
</div>