css circular sharing widget

How we can create a sharing widget with a circular layout using HTML CSS JS? Solution: See this CSS Circular Sharing Widget With jQuery, Social Share Icon Circle.

Previously I have shared some social sharing related programs, it is also like that but it has a circular layout. Basically this type of circular widget contains social media links or profiles and shows it on click. After clicking, the social media icons will reveal with circular layout and circle animation.

Today you will learn to create Social Share Icon’s Circle program. Basically, there is a round button with a text when you will click on that button then there will appear 8 different social media icons. And all the social icons placed around the button with circle layout. On second click all icons will hide again.

So, Today I am sharing CSS Circular Sharing Widget With jQuery. There the whole layout is base on pure CSS and I have used jQuery for the toggle feature. And as we know jQuery is a JS library, that’s why I am putting this in the JavaScript category. And this program will a good practice for you about CSS, you can also use it on your website.

If you are thinking now how this sharing widget actually is, then see the preview given below.

Preview Of Social Share Icon’s Circle Layout

See this video preview to getting an idea of how this widget looks like.

Live Demo

Now you can see this visually, you also can see it live by pressing the button given above. If you like this, then get the source code of its.

You May Also Like:

CSS Circular Sharing Widget With jQuery Source Code

Before sharing source code, let’s talk about it. First, I have created a listand placed input and label inside the list items using HTML. I have created a separate list, checkbox input, and label for different icons. And I have put ID named serial-wise in numerical value, like 1,2,3, etc. All these times I have placed inside the main div, and all other files like CSS, JS I have linked in the HTML file.

Now using CSS, I have placed all the items in the right place as you can see in the preview. I have created as circle all the items using CSS border-radius command (info). All the icons are powered by the font-awesome library, I have linked the CDN in the HTML and put class names in the labels. And many other basic things I have done using CSS.

jQuery handling there the toggle feature and the circular rotate reveal animation. In the same way of reveal it hides on the second click, check live demo for understanding what I am talking about. Rotating hide and show animation is created using JS for() loop function. Left all other things you will understand after getting the codes, I can’t explain all in writing.

For creating this program you have to create 3 files. First for HTML, second for CSS, and the third for JavaScript. Follow the steps to creating this without any error.

index.html

Create an HTML file named ‘index.html‘ and put these codes given below.

style.css

Now create a CSS file named ‘style.css‘ and put these codes given here.

function.js

The final step, Create a JavaScript file named ‘function.js‘ and put the codes.

That’s It. Now you have successfully created CSS Circular Sharing Widget With jQuery, Social Share Icon’s Circle Layout. If you have any doubt or question comment down below.

Thanks For Visiting, Keep Visiting.

3 COMMENTS

  1. Hello Shaan! I needed your help. I was creating a ‘Newsletter Sign Up Form’ for my blog. I have the image of how it should should look, but, I am not able to create it. So, please can you help me in creating that sign up form? If yes, then thanks a lot. This is the image of how my form should look – http://bit.ly/31QTCiq

LEAVE A REPLY

Please enter your comment!
Please enter your name here