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.


                <div class="wrapper">

<div class="hp-360-text dead-center">
                    <div class="hp-360-heading">
                        <h1 class="font-default text-color-main">
                            Nous sommes une agence créative 360<span>o</span>
                    <div class="hp-360-desc">
                        <p id="hp-360-desc" class="font-default text-color-extra">
                            Notre équipe saura exactement comment situer votre entreprise
                            sur les bons réseaux sociaux et moteurs de recherches. Ayez
                            accès à des solutions tout-en-un parfait pour le cadre de
                            votre entreprise grâce à notre éventail de plateformes


                .hp-360-heading h1 {
   font-size: 5rem;
   line-height: 1.11;

.hp-360-heading h1 span {
   color: var(--tps-yellow);
   line-height: 1.5;
   font-size: 30px;
   vertical-align: text-top;

.hp-360-text {
   padding: 10px;
   max-width: 600px;
   margin: auto;
   /* transform: translateY(15%); */
   transition: 0.2s;

.hp-360-desc {
   overflow: hidden;
   position: relative;

   transition: 0.9s;

.hp-360-desc p {
   transform: translateY(-100%);
   /* opacity: 0; */
   font-size: 1.25rem;
   line-height: 1.25;
   transition: 1.5s;

  min-height: 300vh;


                const hp360 = gsap.timeline({
      scrollTrigger: {
         trigger: ".hp-360",
         start: "35% 70%",
         end: "35% 70%",
         scrub: true,
         markers: true
   hp360.from(".hp-360-text", {
      yPercent: 25,
      duration: 0.4
   hp360.from("#hp-360-desc", {
      yPercent: -100,
      duration: 0.2