Create Circular Image Borders: Step-by-Step Guide

Lauren Aug 08, 2026

Adding a round border to an image can enhance its appearance and draw more attention to it. This simple adjustment can make your images stand out, regardless of whether you're using them in a blog post, a website, or a social media platform.

Create ROUNDED Corners in Photoshop (2023 version)
Create ROUNDED Corners in Photoshop (2023 version)

This article will guide you through the process of adding a round border to an image using HTML and CSS. No prior knowledge of these web technologies is required, as we'll break down the steps into simple, easy-to-follow instructions.

Moldura De Casamento Floral Rosa PNG , Moldura De Casamento Floral Rosa PNG , Design Floral Moderno, Casamento Floral PNG Imagem para download gratuito
Moldura De Casamento Floral Rosa PNG , Moldura De Casamento Floral Rosa PNG , Design Floral Moderno, Casamento Floral PNG Imagem para download gratuito

Understanding Round Borders with CSS

Before we dive into how to add a round border to an image, it's essential to understand how CSS works and how we can manipulate it to achieve our goal.

How to Round Corners in Photoshop (Shapes & Photos)
How to Round Corners in Photoshop (Shapes & Photos)

CSS (Cascading Style Sheets) is a stylesheet language used to describe the presentation of a document written in HTML or XML (including XHTML). It's the code that makes your web pages look good. In this case, we'll use CSS to add a round border to our image.

CSS Border Styles

a pink and white circular frame with flowers on the edges, in front of a white background
a pink and white circular frame with flowers on the edges, in front of a white background

CSS allows us to style borders in various ways, including solid, dashed, dotted, double, groove, ridge, inset, and outset. For a round border, we'll use the solid style.

Here's a simple example of how to set a solid border using CSS:

<i class="css-example">border-style: solid; </i>

Making the Border Round

♡✿♡
♡✿♡

To make the border round, we'll use the border-radius property in CSS. This property rounds the corners of an element. The value is set in pixels or percentage, but for a full-rounded corner (circle), we'll use 50%.

Here's an example of how to do this:

<i class="css-example">border-radius: 50%; </i>

Adding a Round Border to an Image

a circular frame with hearts, stars and other items on it in pink tones over white background
a circular frame with hearts, stars and other items on it in pink tones over white background

Now that we understand the basics of CSS borders let's apply this knowledge to add a round border to an image.

In this example, we'll use a simple HTML image element with some inline CSS to add a 5px solid round border:

☆Mask Overlay☆
☆Mask Overlay☆
How to Add Square Borders Using PaintShop Pro
How to Add Square Borders Using PaintShop Pro
a gold circle frame with swirls and scrolls
a gold circle frame with swirls and scrolls
cute thumbnail & pfp frame 🎀°
cute thumbnail & pfp frame 🎀°
How To Make An Image A Circle In Canva – Easy Tutorial
How To Make An Image A Circle In Canva – Easy Tutorial
Floral Round Border White Transparent, Round Floral Unicorn Border, Round, Flowers, Unicorn PNG Image For Free Download
Floral Round Border White Transparent, Round Floral Unicorn Border, Round, Flowers, Unicorn PNG Image For Free Download
a black and white circular frame with floral designs on it, in the shape of a circle
a black and white circular frame with floral designs on it, in the shape of a circle
a circular frame with leaves and berries on it
a circular frame with leaves and berries on it
a black and white drawing of a mouth with fangs on it's teeth, in the shape of a circle
a black and white drawing of a mouth with fangs on it's teeth, in the shape of a circle
a black and white drawing of a round frame with leaves on the sides, surrounded by dots
a black and white drawing of a round frame with leaves on the sides, surrounded by dots
a round frame made out of green bamboo sticks with the top half painted white and the bottom half black
a round frame made out of green bamboo sticks with the top half painted white and the bottom half black
a black and white circle on a white background
a black and white circle on a white background
an image of a rainbow colored circle
an image of a rainbow colored circle
a black and white photo with an ornate frame in the shape of a circle on top of it
a black and white photo with an ornate frame in the shape of a circle on top of it
purple butterflies flying in the air on a circular frame, hd png clipart
purple butterflies flying in the air on a circular frame, hd png clipart
a round glass frame with flowers and leaves
a round glass frame with flowers and leaves
Frames Film Frame PNG
Frames Film Frame PNG
a circular frame with leaves and vines around it in gold on a white background illustration
a circular frame with leaves and vines around it in gold on a white background illustration
an ornate gold frame on a transparent background png clipart free for commercial use
an ornate gold frame on a transparent background png clipart free for commercial use
an artistic black and white photo with vines in the shape of a circle on a white background
an artistic black and white photo with vines in the shape of a circle on a white background

Inline Style

Inline styles are a simple way to apply CSS directly to an HTML element. Here's how you can do it:

<i class="html-example"><img style="border: 5px solid black; border-radius: 50%;" src="image_url" alt="Image" /></i>

Replace "image_url" with the URL of your image.

External CSS

Using an external stylesheet is a more organized approach, especially for larger projects. Here's how you can do it:

<i class="html-example"><img class="rounded-image" src="image_url" alt="Image" /></i>

Then, in your CSS file or style block:

<i class="css-example">.rounded-image { border: 5px solid black; border-radius: 50%; } </i>

Customizing the Round Border

You can customize the round border to fit your needs by changing the border's width, style, and color. Here are some examples:

Changing the Border Width

To change the border's width, simply adjust the value in the border property. For example, to set a 10px border, use:

<i class="css-example">border: 10px solid black; </i>

Changing the Border Color

To change the border's color, simply replace "black" with the color of your choice. For example, to set a red border, use:

<i class="css-example">border: 5px solid red; </i>

Remember, there are numerous other CSS properties and values you can use to customize your round border. Experiment with different options to find what works best for your images.

Adding a round border to an image can greatly improve its appearance and make it stand out. With these simple steps, you can now add round borders to your images using HTML and CSS. Happy styling!