Circles
Using CSS3, circles and other shapes are extremely easy to create without the use of images or other scripts. You can use circles as buttons, or even place icons or other content inside of them.
Big thanks to Codeitdown for the article that inspired this add-on.
Fixed-Width
Below you can see some simple CSS and HTML for a fixed-width circle:
Responsive
Now let's create a responsive circle that will take up the full width of its container, and scale down as the browser is resized.
With Text and Icon
Here is an example of the responsive circle that I created just above, except this time adding an extra class called .circle-content
that will perfectly center any content that we choose to put in our circle, regardless of whether it is responsive or fixed-width.
Below I provide two examples of how the .circle-content
class can be used. One with basic text, and one with an icon.