Add A CSS Animated Share Button on Blogger
I saw this on Paulund , a highly recommended site with a good collection of snippets, a collection of various codes that develop small web design-related utilities.
In this tutorial, we will see how to add a similar share button on Blogger with a very nice hover effect and 4 social media icons with links to share the current page on Facebook, Twitter, Google+ and Pinterest. However, we may later replace these social networks with others simply by changing the links below.
Step 2 – Click anywhere in the code box and press Ctrl + F to open the Blogger search box. ]]> write or insert Highlight and press Enter to find it.
Step 3: Just above ]]>: Add this CSS:
In this tutorial, we will see how to add a similar share button on Blogger with a very nice hover effect and 4 social media icons with links to share the current page on Facebook, Twitter, Google+ and Pinterest. However, we may later replace these social networks with others simply by changing the links below.
Manifestation:
Create a CSS Animated Share Button
Step 1 – From Blogger Control Panel > Go to Template > Click the Edit HTML button.Step 2 – Click anywhere in the code box and press Ctrl + F to open the Blogger search box. ]]> write or insert Highlight and press Enter to find it.
Step 3: Just above ]]>: Add this CSS:
.share button {Step 5: Now let's go ahead and add an HTML button to the template. The most common location would be right after
Width: 300px;
Height: 50px;
border: 10px automatic;
}
.share_button ul {
Width: 50%;
height - inheritance;
drive left
list style: no;
Margin: 0 !important;
Title: 0 !important;
}
.share_button ul h1 {
top margin: 9%;
hidden overflow;
Width: 100%;
Colour: #4889F0;
Font size: 18px;
text shadow: 2px 2px 2px #fff;
}
.share_button ul li {
position: absolute;
height - inheritance;
Width: 150px;
Margin: 0 !important;
Title: 0 !important;
Background: #EEEEEE;
- webkit transition: every 600ms;
-moz transition: every 600ms;
-o transition. every 600ms;
-ms transition. every 600ms;
transition: every 600 ms;
Align text: center;
}
.share_button ul li h2 {
show: inline block;
Width: 32%;
Height: 40px;
hidden overflow;
top margin: 5%;
pointer: pointer;
limit: 0 !important;
}
.share_button ul:first child li:first child{
Align text: right;
}
.share_button ul:last child li:first child{
Align text to the left;
}
.share_button ul: first child li: last child,
.share_button:hover ul:first child li:first child {
-webkit-transform. Rotate Y (90 degrees);
-moz-transform: rotate Y (90 degrees);
-o-transform: rotate Y (90 degrees);
-ms-transform: rotate Y (90 degrees);
rotate: rotate Y (90 degrees);
}
.share_button ul:last child li:last child,
.share_button:hover ul:last child li:first child {
-webkit-transform. Rotate Y (-90 degrees);
-moz-transform: Rotate Y (-90 degrees);
-o-translate: rotate Y (-90 degrees);
-ms-transform: rotate Y (-90 degrees);
rotate: RotateY(-90 degrees);
}
.share_button:hover ul:first child li:last child,
.share_button:hover ul:last child li:last child {
-Webkit transform: RotateY (0 degrees);
-moz-transform: rotate Y (0 degrees);
-o-conversion. rotate Y (0 degrees);
-ms-transform. rotate Y (0 degrees);
rotate: rotate Y (0 degrees);
}
Post a Comment for "Add A CSS Animated Share Button on Blogger"