Pen Settings



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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


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.



<section class="background-img">

  <div id="wrap">
    <h1>Slide Animated Button</h1>
<p>Animated slide circle & text , click & Hover Buttons using pure css button!</p>

  <div> <a class="btn-slide" href="#" >
      <span class="circle">
        <i class="fa-solid fa-film"></i>        
      <span class="title">Save Movie</span>
      <span class="title title-hover">720p Hindi HD</span>
     </a> </div>
   <div> <a class="btn-slide" href="#" >
      <span class="circle">
        <i class="fa fa-save"></i>
      <span class="title" > Hover Button</span>
      <span class="title title-hover">Download Now</span>
     </a> </div>


* { margin: 0; padding: 0; }

    background: url(
    no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 200vh;

#wrap {
  text-align: center; 
  z-index: 10;

h1 {
  position: relative;
  color: #fff;
  font-size: 40px;
  padding: 70px 0px 30px;

p {
  font-family: 'Lato';
  font-weight: 300;
  font-size: 24px;
  color: #fff;

.fa { font-size: 19px; width: 20px; }

.btn-slide { 
    position: relative;
    display: inline-block; 
    height: 50px;
    width: 240px;
    line-height: 50px;
    margin: 25px 0;
    padding: 0px;
    border-radius: 25px;
    box-shadow: 0 10px 20px -8px rgba(0, 0, 0,0.7);
    background: linear-gradient(135deg, #e570e7 0%,#79f1fc 100%);
.btn-slide:active { 
    box-shadow: 0 8px 16px -8px rgba(0, 0, 0,0.7);
    -webkit-transform: scale(0.98);
    transform: scale(0.96); }
.btn-slide:hover { 
    background: linear-gradient(-135deg, #e570e7 0%,#79f1fc 100%); }
.btn-slide { 
    display: block;
    background-color: #fff;
    color: #e570e7;
    position: absolute;
    margin: 5px;
    height: 40px; 
    width: 40px;
    top: 0; left: 0;
    border-radius: 50%;
    transition: all 1.5s ease;
.btn-slide:hover { 
    left: 100%;
    margin-left: -45px;
    background-color: #fff;
    color: #79f1fc; }
.btn-slide span.title { 
    position: absolute;
    left: 85px;
    font-size: 17px;
    font-weight: bold;
    color: #fff;
    transition: all 1.5s linear; 
.btn-slide span.title-hover { opacity: 0;}
.btn-slide:hover span.title { opacity: 0; }
.btn-slide:hover span.title-hover { opacity: 1; left: 60px; }   


                // NO JAVASCRIPT REQUIRED