How to add Vertical Fixed Share Button in your Website

Applied in Blog

Before
.social-share-post {
    float: left;
    width: 100%;
    background: #30292B;
    padding: 50px 30px;
    text-align: center;
}
.social-share-post h3 {
    font-family: "Courgette", Comic Sans MS;
    color: #fff;
    font-size: 47px;
    text-align: center;
    margin: 0px 0px 30px 0px;
}
Edited

.social-share-post {
       position: fixed;
 overflow: hidden;
 left: 0;
 height: 100%;
 list-style-type: none;
 margin: 0;
 padding: 20px 10px;
 background: #30292B;
 width: 80px;
}
.social-share-post h3 {
    font-family: "Courgette", Comic Sans MS;
    color: #fff;
    font-size: 20px;
    text-align: center;
    margin: 100px 0px 10px 0px;
}
Source: https://tympanus.net/codrops/2013/03/05/vertical-icon-menu/

Comments

Popular Posts