Help creating circles behind a text element

Hi there,

I’m trying to get a perfect circle around a piece of text wrapped in a div block. I set the radius to 50% and the border width to 5. Problem is that single digit numbers make the circle show up as an oval. Any thoughts on how to correct?


Here is my site Read-Only: Webflow - The Attributes

hi @The_Attributes you have to your number wrap fixed width and height or use an aspect ratio 1/1.


.tf-bg-color{
height: 100%;
aspect-ratio: 1/1;
}

Thanks @Stan,

Any chance you can tell me my inputs? I’m still new to Webflow.

Hi @The_Attributes you have 2 options

  1. reset all Size settings in UI you have done and add provided code
  2. reset all Size settings in U, set only height in UI and add provided code without height

Hey @Stan,

This is as far as I got. Could you help me figure out what I’m doing wrong?

You have
1. wrapped CSS in script tag instead of style tag see code below.

<style>
.tf-bg-color{
height: 100%;
aspect-ratio: 1/1;
}
</style>
  1. this code should be placed in the space above this mean in Inside <head> tag