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 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

Packages

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.

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 id="demo">
	<progress class="progress is-primary progress" v-bind:value="step" max="6">15%</progress>
	
	<div class="field is-grouped">
  	<div class="control">
  		<button v-if="step>1" v-on:click="step = step - 1;" class="button">
    		Previous
  		</button>
		</div>
		<div class="control">
			<button v-if="step<6" v-on:click="step = step + 1;" class="button">
    		Next
  		</button>
		</div>
	</div>
	
	<transition name="slide-fade">
  <div v-if="this.step==1">
    <div class="card">
			<div class="card-content">
				<div class="content">
					<h1>Step 1</h1>
					<p>Bacon ipsum dolor amet buffalo jowl filet mignon, meatloaf ribeye chuck fatback porchetta kevin pig andouille. Ribeye short ribs landjaeger, frankfurter drumstick kielbasa pig. Short ribs tenderloin ham shoulder sirloin t-bone jowl ground round fatback drumstick cupim salami corned beef turkey venison. Landjaeger pancetta beef ham hock meatloaf rump cow porchetta chuck ground round tail jerky pork loin sausage. Brisket meatball capicola beef ribs tail t-bone doner biltong burgdoggen pastrami buffalo ham hock.</p>

					<p>Shank salami landjaeger kevin venison pork loin chislic sirloin rump chicken filet mignon. Ground round drumstick burgdoggen tongue. Biltong chuck pancetta sausage swine. Rump biltong beef ribs bacon shank ground round ribeye ham.</p>

					<p>Strip steak spare ribs pancetta, sausage doner fatback boudin tail cupim shank. Brisket chislic tenderloin pork loin cow ham hock picanha. Ball tip tongue frankfurter corned beef alcatra beef. Pork chop strip steak corned beef sausage burgdoggen buffalo jerky capicola cupim pork belly, sirloin flank. Strip steak corned beef sirloin bresaola pork loin ribeye kevin.</p>
				</div>
			</div>
		</div>
  </div>
	</transition>
	
	<transition name="slide-fade">
  <div v-if="this.step==2">
    <div class="card">
			<div class="card-content">
				<div class="content">
					<h1>Step 2</h1>
					<p>Bacon ipsum dolor amet pig tongue tenderloin filet mignon alcatra boudin salami leberkas capicola chicken shank. Pork swine pork chop ribeye salami t-bone flank leberkas prosciutto bacon chuck landjaeger frankfurter. Shoulder tongue sausage cow tail, fatback tenderloin. Pastrami spare ribs drumstick, shankle chislic sausage burgdoggen frankfurter doner pig turkey sirloin hamburger.</p>

					<p>Chislic sirloin turducken pork belly sausage, picanha tail pork short ribs flank bresaola fatback. Jerky pork chop burgdoggen spare ribs kielbasa turkey beef meatball ham chuck filet mignon cow pig pork belly. Buffalo chicken shankle, salami sirloin swine tongue ham. Pork burgdoggen meatball pig alcatra pancetta chislic, shoulder ground round t-bone pork chop pork belly. Andouille ham hock short loin pork loin, picanha tri-tip ball tip meatloaf. Chislic alcatra kielbasa corned beef tongue shankle cupim leberkas pork belly, ball tip turkey flank chuck. Rump salami cupim porchetta sirloin, pancetta ham biltong doner ground round.</p>
				</div>
			</div>
		</div>
	</div>
	</transition>
	
	<transition name="slide-fade">
  <div v-if="this.step==3">
    <div class="card">
			<div class="card-content">
				<div class="content">
					<h1>Step 3</h1>
					<p>Bacon ipsum dolor amet chicken pork cupim porchetta bresaola spare ribs. Tongue pastrami cow capicola picanha corned beef. Bacon filet mignon flank chicken, swine cow frankfurter picanha. Bresaola shank doner rump, cupim picanha bacon porchetta spare ribs jerky sausage pork chop. Cow short loin pork loin spare ribs rump pork belly. Strip steak burgdoggen ball tip pig pork belly rump shank. T-bone pig short ribs swine bresaola spare ribs shankle ham hock turducken.</p>

					<p>Capicola filet mignon kielbasa, ball tip pork shoulder spare ribs sirloin. Ribeye shankle beef ribs, corned beef swine short loin pork drumstick bacon chuck buffalo pork loin beef pastrami fatback. Chislic tri-tip hamburger leberkas short loin, drumstick porchetta alcatra. Hamburger brisket cupim frankfurter, buffalo cow corned beef porchetta rump pig short loin burgdoggen pork chop. Pastrami boudin ribeye, cupim porchetta beef ribs ground round.</p>
				</div>
			</div>
		</div>
  </div>
	</transition>
	
	<transition name="slide-fade">
  <div v-if="this.step==4">
    <div class="card">
			<div class="card-content">
				<div class="content">
					<h1>Step 4</h1>
					<p>Bacon ipsum dolor amet shank buffalo ham boudin venison. Cow ground round hamburger salami kevin. Sausage tri-tip shankle ham, pork loin drumstick rump strip steak prosciutto brisket spare ribs landjaeger pork. Pastrami porchetta turkey, kielbasa jerky burgdoggen prosciutto shank t-bone ham hock doner rump bresaola flank ground round. Pork loin jerky swine tri-tip. Strip steak drumstick brisket pork. Corned beef picanha strip steak, shankle sirloin spare ribs biltong pastrami leberkas jerky chicken shank ham.</p>

					<p>Salami flank pork tail strip steak, cupim meatball ground round tongue filet mignon pork belly. Burgdoggen biltong ball tip spare ribs, pork loin shankle pastrami landjaeger porchetta. Ribeye ball tip sausage, chislic tenderloin brisket beef ribs jowl chuck turkey flank boudin venison. Turkey leberkas shankle salami burgdoggen buffalo beef ribs ribeye.</p>
				</div>
			</div>
		</div>
  </div>
	</transition>
	
	<transition name="slide-fade">
  <div v-if="this.step==5">
    <div class="card">
			<div class="card-content">
				<div class="content">
					<h1>Step 5</h1>
					<p>Bacon ipsum dolor amet pork belly sirloin frankfurter cow, pancetta chuck leberkas doner chislic. Meatball bresaola cow porchetta short ribs hamburger tenderloin beef ribs shoulder pig picanha shankle. Bacon jowl sausage beef ribs. Ham hock swine tenderloin brisket turkey shank turducken. Meatloaf drumstick short loin filet mignon turducken bacon tri-tip, rump andouille shankle prosciutto strip steak. Jerky tenderloin andouille boudin doner.</p>
				</div>
			</div>
		</div>
  </div>
	</transition>
	
	<transition name="slide-fade">
  <div v-if="this.step==6">
    <div class="card">
			<div class="card-content">
				<div class="content">
					<h1>Step 6</h1>
					<p>Bacon ipsum dolor amet frankfurter beef filet mignon jerky tenderloin tail turducken. Cow turducken fatback spare ribs tenderloin frankfurter, boudin shank pig swine pancetta capicola andouille leberkas. Turkey short ribs chislic, ribeye ground round porchetta pig meatball jerky bresaola sausage. Kevin spare ribs alcatra salami swine beef. Short ribs filet mignon pork chop kielbasa tail porchetta spare ribs beef ribs leberkas.</p>
					<p>Salami doner fatback swine, picanha short ribs pork chop corned beef rump porchetta spare ribs tongue sausage biltong. Landjaeger pig alcatra, prosciutto kevin chuck buffalo tail fatback kielbasa cupim corned beef. Pork belly chislic venison alcatra buffalo. Shank ground round beef jerky ham chislic cow kielbasa ribeye capicola chuck. Leberkas drumstick spare ribs fatback, rump pork chuck.</p>
				</div>
			</div>
		</div>
  </div>
	</transition>
	
</div>
              
            
!

CSS

              
                .card {
	width: 400px;
  margin: auto;
	margin-top:30px;
	margin-bottom: 30px;
	
}
.progress {
	width: 400px;
  margin: auto;
	margin-top:30px;
	margin-bottom: 30px;
}
.field {
	margin-top:10px;
	margin-left:10px;
}
.slide-fade-enter-active {
  transition: all .35s ease;
}
.slide-fade-leave-active {
  transition: all .3s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}
.slide-fade-enter, .slide-fade-leave-to {
  transform: translateX(-1000px);
  opacity: 0;
}
              
            
!

JS

              
                new Vue({
  el: '#demo',
  data: {
    step: 1
  }
})
              
            
!
999px

Console