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

+ 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

              
                <section class="pt-5 pb-5" id="til-key-action">
		<!--PLUS PANEL-->
		<div class="panel" id="plus1">
		<div class="container-fluid h-100" style="position:absolute; width:100%; top:0px;">
			<div class="row h-100">
			<div class="col-lg-12">
        <span class="plus1">+ </span>
			</div>
		</div>
		</div>
		
		</div>
		<div class="panel" id="plus2">
		<div class="container-fluid h-100" style="position:absolute; width:100%; top:0px;">
			<div class="row h-100">
			<div class="col-lg-12">
        <span class="plus2">+</span>	
			</div>
		</div>
		</div>
		
		</div>
		
		<!--PANEL CHANGE-->
		<div class="panel" id="change-sec">
		<div class="container-fluid vh-100" style="position:absolute; width:100%; top:0px;z-index:10">
		
			<div class="row h-100">
			
			<div class="col-lg-8">
				
			</div>
			
			<div class="col-lg-4">
			<div id='change'>
  <div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div>
  	<div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div>	
        <div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div>
  
			</div>	
			
			</div>
		</div>
		</div>
		<div class="container h-100" >
		
			<div class="row h-100">
			
			<div class="col-lg-12 d-flex flex-column justify-content-center align-self-center">
			<div class="row h-100">
			<div class="col-lg-6 align-self-center">
			<h3 style="color:#C7102E; font-size:90px; font-family:'Carnas Light'; width:100%; ">CHANGE</h3>
			<span style="width:100%; float:left; font-size:20px;" class="pb-2">Costruiamo soluzioni in grado di innovare<br> l’identità dei brand, trasformandolo in un<br> hub di valori ed efficacia comunicativa.</span>
			<a href="#connect-sec">READ MORE</a>
			</div>	
				
				
			<div class="col-lg-6" >
			
				
			</div>		
				
			</div>
				
				
			</div>
			</div>
		</div>
		</div>
		<!--PANEL CONNECT-->
		<div class="panel" id="connect-sec">
		<div class="container-fluid h-100" style="position:absolute; width:100%; top:0px;">
		
			<div class="row h-100">
			
			<div class="col-lg-8">
				
			</div>
			
			<div class="col-lg-4">
			<div id='connect'>
 	<div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div>
  	<div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div>	
        <div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div><div class='holder'><a href='https://www.google.com' target="_blank" ><img src="https://rccl-h.assetsadobe.com/is/image/content/dam/royal/data/ports/reykjavik-iceland/overview/reykjavik-iceland-city-mountan-view.jpg?$750x320$" width="250" style="transform:rotate(90deg)"></a></div>
  
			</div>	
			
			</div>
		</div>
		</div>
			
		<div class="container d-flex h-100" >
		
			<div class="row h-100 align-self-center">
			
			<div class="col-lg-12 d-flex flex-column justify-content-center align-self-center">
			<div class="row h-100">
			<div class="col-lg-6 align-self-center">
			<h3 style="color:#C7102E; font-size:90px; font-family:'Carnas Light'; width:100%; ">CONNECT</h3>
			<span style="width:100%; float:left; font-size:20px;" class="pb-2">Elaboriamo experience digitali ad alto tasso di engagement per generare una forte connessione emotiva tra utente e brand.</span>
			<img src="https://www.liberabrandbuilding.group/wp-content/uploads/2021/03/readmore_black.svg" class="pt-3" width="120">
			</div>	
				
				
			<div class="col-lg-6" >
			
				
			</div>		
				
			</div>
				
				
			</div>
			</div>
		</div>
		</div>
	

	</section>
              
            
!

CSS

              
                #til-key-action {
	
	width:100%;
	float:left;
	display:block;
	position:relative;
	background:#fff;
	background: rgb(255,255,255);
background: -moz-radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(219,219,219,1) 52%);
background: -webkit-radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(219,219,219,1) 52%);
background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(219,219,219,1) 52%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#dbdbdb",GradientType=1);
	height:100vh;
}

#change-sec, #connect-sec, #amaze-sec, #perform-sec {
	
	width:100%;
	float:left;
	display:block;
	position:relative;
	/*height:100vh !important;	*/
	
}

#change, #connect, #amaze, #perform {
 position: absolute;
    top: 10vh;
    left: 8vw;
    width: 1000px;
    height: 1000px;
    margin-top: -100px;
    margin-left: -100px;
    cursor: pointer;
    
}

#change .holder, #connect .holder, #amaze .holder, #perform .holder {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 40px;
  margin-left: -20px;
  	
	
}
#change a, #connect a, #amaze a, #perform a{
  position: absolute;
  top: -800px;
  left: -120px;
  height: 20px;
  width: 40px;
  padding: 10px;
  text-decoration: none;
  text-align: center;
	color: #fff;
  border-radius: 3px;
}

#change a:after, #connect a:after, #amaze a:after, #perform a:after{
	
	 content:url('https://www.liberabrandbuilding.group/wp-content/uploads/2021/03/coloured_plus-e1616682985601.png');
    display:inline-block;
	align-self: center;
	    position: relative;
    left: 100px;
	top:100px;
}




.holder img {
  
 border-radius:10px;
  
}
              
            
!

JS

              
                // setup
	const draggable = Draggable.create("#change", {
	  type: "rotation",
	  throwProps:true,	
	  inertia: true,
	  onDrag: function() {
		console.log(this.rotation)
	  }
	});
	
	const draggableConnect = Draggable.create("#connect", {
	  type: "rotation",
	  throwProps:true,	
	  inertia: true,
	  onDrag: function() {
		console.log(this.rotation)
	  }
	});


//ROTATED ELEMENTS
	var nav = $('#change').children('.holder').each(function(i) {
	gsap.set(this, {rotation:20*i});
	}).end();


	var tl_change= gsap.timeline({paused:true});
	var nav = document.getElementById('change');
	gsap.to(nav, 60, {rotation:"360", ease:Linear.easeNone, repeat:0});	
	
	
	var nav2 = $('#connect').children('.holder').each(function(i) {
	gsap.set(this, {rotation:20*i});
	}).end();


	var tl_connect= gsap.timeline({paused:true});
	var nav2 = document.getElementById('connect');
	gsap.to(nav2, 60, {rotation:"360", ease:Linear.easeNone, repeat:0});	
	

	
	
var tl_key = gsap.timeline({
  scrollTrigger: {
      trigger: "#til-key-action",
      scrub: true,
      pin: true,
      start: "top top",
      end: "bottom top",
      toggleClass: "active",
      ease: "power2",
      markers: true,
	  toggleActions: "play none reset reset"
    },
});

tl_key
  .set( ".plus1", { yPercent: 200, xPercent: -120, autoAlpha: 1 } )
  .set( ".plus2", { yPercent: 250, xPercent: -120, autoAlpha: 1 } )
  .set( ".plus3", { yPercent: 300, xPercent: -120, autoAlpha: 1 } )	
  .set( "#change-sec",{ x: -100, autoAlpha: 0 } )
  .set("#connect-sec",{x:-100, autoAlpha:0})
  .to(".plus1", {
    autoAlpha: 0,
    duration: 2, 
    x: 2000, 
    rotation: 365,
    scale: 0.1,
    xPercent: -50,
	
  })
  .to(".plus2", {
    autoAlpha: 0,
    duration: 2, 
    x: 2000, 
    rotation: 365,
    scale: 0.5,
    xPercent: -50,
	
  })
  	
  .to( "#change-sec", {
      autoAlpha: 1,
      x: 0,
      duration: 0.5,
	  stagger:2,
  })
	.set({}, {}, "10")

   .to( "#change-sec", {
      autoAlpha: 0,
      x: 0,
      duration: 0.5, 
  })	
  .to( "#connect-sec", {
      autoAlpha: 1,
      x: 0,
      duration: 1, 
	  stagger:2,
  }).set({}, {}, "20")
  .to( "#connect-sec", {
      autoAlpha: 0,
      x: 0,
      duration: 0.5, 
  });
              
            
!
999px

Console