Home / Admin / floating-monsterlink-2.css
Duplicate Snippet

Embed Snippet on Your Site

floating-monsterlink-2.css

Code Preview
css
/* --- Floating MonsterLink Style 2 CSS ---
 ------------------------------------------ */
 .floating-monsterlink.style2.show {
    bottom: 30px;
 }
 .floating-monsterlink.style2 {
    margin: 0;
    width: auto;
    border-radius: 10px;
    display: inline-block;
    position: absolute;
    bottom: -160px;
    left: 30px;
    width: 180px;
    padding: 10px 20px;
    background-color: #eaeaea;
    border: 7px solid #92162d;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
    -webkit-transition: bottom 3000ms ease-in-out;
    -moz-transition: bottom 3000ms ease-in-out;
    -o-transition: bottom 3000ms ease-in-out;
    transition: bottom 3000ms ease-in-out;
}
.floating-monsterlink.style2 .floating-avatar {
    top: 35px;
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden;
    width: 75px;
    height: 75px;
    position: absolute;
    margin-left: 175px;
    border-radius: 999em;
    border: 4px solid #92162d;
    background-color: #92162d;
    -webkit-box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.4);
}
.floating-monsterlink.style2 .floating-avatar span {
    width: 69px;
    height: 69px;
    display: block;
    overflow: hidden;
    border-radius: 999em;
    background-size: cover;
    background-color: #eaeaea;
    border: 15px solid #eaeaea;
    margin: -12px auto auto -12px;
    background-image: url('https://optinmonster.com/wp-content/uploads/2015/09/erica-avatar-200x200.jpg');
}
.floating-monsterlink.style2 .floating-cta {
    padding: 0;
    font-size: 15px;
    text-align: left;
    line-height: 1.5em;
    margin: 0 auto 15px;
    font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
}
.floating-monsterlink.style2 p.floating-cta:last-of-type {
    margin: 0 auto;
}
.floating-monsterlink.style2 a.manual-optin-trigger {
    color: #730519;
    text-decoration: underline;
}
.floating-monsterlink.style2 a.float-close {
    top: -13px;
    left: -13px;
    color: #fff;
    height: 20px;
    width: 20px;
    font-weight: 300;
    line-height: 1.2em;
    text-align: center;
    position: absolute;
    border-radius: 999em;
    text-decoration: none;
    background-color: #444;
    font-family: sans-serif;
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

Comments

Add a Comment