Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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="">
  Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.vLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</div>
<div class="camera">
      				<div id="custom-horizontal" class="frame reveal active">
		  									 			<div class="item" >
									<div class="inner-card service">
																   				<div class="horizontal-number">01</div>
						  			 	<h3 class="heading-medium">Huisstijl</h3>
						   				<p class="text-color-white align-left">Met een huisstijl geef je jouw bedrijf karakter. Je laat zien wie je bent ten opzichte van andere bedrijven. Doe je dat goed, is het de reden dat klanten voor jou kiezen in plaats van de concurrent. Want als jullie precies hetzelfde aanbod hebben, draait alles om de ‘klik’.</p>
									</div>
					 			</div>
		 										 			<div class="item" >
									<div class="inner-card service">
																   				<div class="horizontal-number">02</div>
						  			 	<h3 class="heading-medium">Brandbook</h3>
						   				<p class="text-color-white align-left">Wie jij bent als merk, leggen we vast. Daarvoor is het brandbook, ook wel style guide of merkhandboek. Alle elementen die bijdragen aan een consistente uitstraling van jouw merk, komen erin aan bod. Behalve de logo’s en beeldmerken ook de kleuren, tone of voice, de lettertypen en de afbeeldingen.</p>
									</div>
					 			</div>
		 										 			<div class="item" >
									<div class="inner-card service">
																   				<div class="horizontal-number">03</div>
						  			 	<h3 class="heading-medium">Rebrand</h3>
						   				<p class="text-color-white align-left">Je merkidentiteit herzien en veranderen, dat noemen we een rebranding. Als het bedrijf een nieuwe weg in slaat of als update naar het hier en nu. Wat we doen in dit proces? Hangt van de situatie af. Van kleine aanpassingen in het logo of de kleuren, tot een ommezwaai van 360 graden van de visuele identiteit.</p>
									</div>
					 			</div>
		 										 			<div class="item" >
									<div class="inner-card service">
																   				<div class="horizontal-number">04</div>
						  			 	<h3 class="heading-medium">Illustratie</h3>
						   				<p class="text-color-white align-left">Ideeën en boodschappen op een unieke en aantrekkelijke manier helder maken? Dat kan allemaal in één bliq. Met een illustratie pakken we de aandacht en maken we de meest complexe informatie begrijpelijk.</p>
									</div>
					 			</div>
		 										 			<div class="item" >
									<div class="inner-card service">
																   				<div class="horizontal-number">05</div>
						  			 	<h3 class="heading-medium">Logo Animatie</h3>
						   				<p class="text-color-white align-left">Animatie is het na elkaar afspelen van stilstaande beelden waardoor het lijkt of het beweegt. Dat kunnen we ook met jouw logo doen. Dan krijg je een logo animatie, oftwel een (bewegende) versie van jouw bedrijfslogo. Je vangt er meer bliqqen mee. En dat geeft je merkidentiteit spierballen.</p>
									</div>
					 			</div>
		 					      				</div>
				</div>
<div class="">
  Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.vLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</div>
              
            
!

CSS

              
                div#custom-horizontal {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    height: 100vh;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.reveal.active {
    transform: translateY(0px);
    opacity: 1;
}
.item {
    width: 58vw;
    flex-direction: column;
    flex: none;
    justify-content: flex-end;
    padding-right: 15vw;
    display: flex;
}
              
            
!

JS

              
                gsap.registerPlugin(ScrollTrigger);
		const sections = gsap.utils.toArray(".item");
		let maxWidth = 0;
		const getMaxWidth = () => {
		maxWidth = 0;
		sections.forEach((section) => {
			maxWidth += section.offsetWidth;
		});
		};
		getMaxWidth();
		ScrollTrigger.addEventListener("refreshInit", getMaxWidth);
		let scrollTween = gsap.to(sections, {
		x: () => `-${maxWidth - jQuery("#custom-horizontal").outerWidth() + 24}`,
		ease: "none",
		});
		let horizontalScroll = ScrollTrigger.create({
		animation: scrollTween,
		trigger: ".camera",
		pin: true,
		scrub: 0.5,
		end: () => `+=${maxWidth}`,
		invalidateOnRefresh: true
		});
              
            
!
999px

Console