Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="TIMkholis">
  <h1>Animation MoveInLeft, MoveInRight, & FloatingFox Effect Using CSS</h1>
  <div class="box TIMmoveleft">
    <span>
    <h2>Text Box</h2>
  <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies, purus lectus malesuada libero, sit amet commodo magna eros quis urna. Nunc viverra imperdiet enim.</p> </span>
  </div>
  <div class="tombol TIMmoveright">
    <a href="https://www.tipsim.com/2019/01/cara-membuat-efek-animasi-moveinleft.html">
      Back To Tutorial
    </a>
  </div>
</div>

<div id="TipsIMfollowSubscribe" style="bottom: -971px;">
  <div class="TipsIMfollowForm">
    <a class="TipsIMfollowButton" href="#" title="Follow"><b>+ Follow</b></a>
    <br />
    <a href="http://www.Blogger.com/follow-blog.g?blogID=6168479508828843155" title="join this site" onclick="window.open(this.href, 'dmfollow', 'toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=no,width=599,height=521');return false;" style="text-align:center;font-weight:bold;text-decoration:none;"><img src="https://1.bp.blogspot.com/-HViEx99kxmQ/VyPMrPGAvEI/AAAAAAAAD7M/bWz5CKpHrHkxtVdgL0z-xJQa_nA_tK0gACLcB/s1600/Follower.png" alt="Join on this site" /></a>
    <br />
    <p>with Google Friend Connect</p>
  </div>
</div>
              
            
!

CSS

              
                body {
  margin: 0;
  background:linear-gradient(to right, #10B39D, #2c3e50);
  font-family: 'arial', sans-serif;
  color:#404040
}

a,
a:visited {
  color: #444;
  outline: none;
  text-decoration: none;
}

a:hover,
a:focus,
a:visited:hover {
  color: #22a1c4;
  text-decoration: none;
}

.TIMkholis {
  padding: 50px;
  position: relative;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.06);
  z-index: 3;
}

.TIMkholis h1 {
  color:#fff;
  text-align:center;
  font-size:25px
}

.box {
  padding:15px;
  line-height:25px;
  background:#eee;
  border-radius:15px;
  width:100%;
  max-width:600px;
  margin: 0 auto;
}

.box span {
  padding:15px 30px;
  background:#fff;
  display:inline-block;
  border-radius:10px;
}

.tombol {
  width:100%;
  margin:35px 0;
  text-align:center
}
.tombol a {
  padding: 15px 30px;
  text-align:center;
  color:#ecf0f1;
  background: #D24D57;
  text-transform: uppercase;
  font-weight:700;
  border-radius: 30px;
  cursor:pointer;
  transition:all .4s ease-in-out;
}
.tombol a:hover {
  background:#ecf0f1;
  color: #D24D57
}

.TIMmoveleft {
  animation: moveInLeft 1s ease-out;
}
.TIMmoveright{
  animation: moveInRight 1s ease-out, floatingFox 4s 1s infinite; 
}

@keyframes moveInLeft {
  0% {
    opacity: 0;
    transform: translate(-150px);
  }
  
  100% {
    opacity: 1;
    transform: translate(0px);
  }
}

@keyframes moveInRight {
  0% {
    opacity: 0;
    transform: translate(150px);
  }
  
  100% {
    opacity: 1;
    transform: translate(0px);
  }
}

  @keyframes floatingFox {
    0% {
      transform: translate(0px);
    }
    50% {
      transform: translateY(5px);
    }
    100% {
      transform: translate(0px);
    }
  }

#TipsIMfollowSubscribe {
  background-color: #464646;
  width: 220px;
  color: #fff;
  position: fixed;
  z-index: 999;
  right: 10px;
  bottom: 0;
}

.TipsIMfollowButton {
  background: #464646;
  color: #fff;
  font-size: 13px;
  line-height: 28px;
  padding: 0 10px;
  text-decoration: none;
  position: absolute;
  top: -28px;
  right: 0;
  display: block;
  border-radius: 2px 2px 0 0;
  height: 28px;
  font-weight: 700;
}

.TipsIMfollowButton span {
  background: url("https://4.bp.blogspot.com/-fc3-0J--iW8/VyPNjRmxJtI/AAAAAAAAD7U/emRRY6ntYEg3IaL-mev9XxE9M1OKh50fACLcB/s1600/follow-blogger.png") no-repeat scroll 0 3px transparent;
  padding-left: 15px;
}

.TipsIMfollowButton:hover,
.TipsIMfollowButton:focus,
.followActive,
.followActive:hover {
  color: #fff;
}

.TipsIMfollowButton:hover span,
.followActive span {
  background-position: 0 -37px !important;
}

.followactive {
  background-color: #333;
}

.TipsIMfollowForm {
    padding: 15px;
    margin: auto;
    text-align: center;
    font-size: 12px;
}

.TipsIMfollowForm p {
  margin: 10px 0;
}

.TipsIMFollowFooter {
  text-align: center;
  font-size: 11px;
  padding: 7px 0;
  margin: 0 0 -15px;
  border-top: 1px solid #3c3c3c;
}

.TipsIMFollowFooter a {
  color: #aaa;
  background: none;
  text-decoration: none;
}

.TipsIMFollowFooter a:hover {
  color: #fff;
  background: none;
}
              
            
!

JS

              
                // Follow slide
(function(TipsIM) {
  TipsIM(document).ready(function() {
    TipsIM.extend(TipsIM.easing, {
      easeOutCubic: function(x, t, b, c, d) {
        return c * ((t = t / d - 1) * t * t + 1) + b
      }
    });
    var followBox = TipsIM("#TipsIMfollowSubscribe");
    var followHeight = "-" + followBox.outerHeight() + "px";
    followBox.hide().css({
      bottom: "-510px"
    });
    setTimeout(function() {
      followBox.show().animate({
        bottom: followHeight
      })
    }, 500);
    TipsIM(".TipsIMfollowButton").click(function(e) {
      if (followBox.hasClass("followOpened")) {
        TipsIM(this).removeClass("followActive");
        followBox.removeClass("followOpened").stop().animate({
          bottom: followHeight
        }, {
          duration: 300,
          easing: "easeOutCubic"
        })
      } else {
        TipsIM(this).addClass("followActive");
        followBox.addClass("followOpened").stop().animate({
          bottom: "0"
        }, {
          duration: 500,
          easing: "easeOutCubic"
        })
      }
      e.preventDefault()
    })
  })
})(jQuery);
              
            
!
999px

Console