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

              
                <main>
    <article id="furiosa_poster">
        <header id="furiosa_poster__header">
            <h1 id="furiosa_poster__header__title" data-title="FURIOSA">FURIOSA</h1>
        </header>
        <p id="furiosa_poster__anya">Anya Taylor-Joy</p>
        <p id="furiosa_poster__chris">Chris Hemsworth</p>
        <p id="furiosa_poster__george">From mastermind <strong>George Miller</strong></p>
        <p id="furiosa_poster__mad_max_saga"><span data-title="A Mad">A Mad</span> <span data-title="Max Saga">Max Saga</span></p>
        <img id="furiosa_poster__front_image" src="https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/medias/furiosa_front.webp" alt="Furiosa Front image">
    </article>
</main>
<nav>
    <a href="https://www.furiosaamadmaxsaga.com/" target="_blank">Official page</a>
</nav>
              
            
!

CSS

              
                @font-face {
    font-family: 'Agency FB Black';
    src: url('https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/fonts/AgencyFBBlack.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/fonts/AgencyFBBlack.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agency FB Regular';
    src: url('https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/fonts/AgencyFB-Reg.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/fonts/AgencyFB-Reg.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agency FB Bold';
    src: url('https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/fonts/AgencyFB-Bold.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/fonts/AgencyFB-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
html,
body {
    font-family: 'Agency FB Regular', sans-serif;
    margin: 0;
    padding: 0;
    background: black;
    scrollbar-color: #ffcd1c black;
    min-height: 130vh;
}
/* @media (min-width: 960px) {
    main {
        scale: 0.9
    }
} */
@media (orientation: landscape) {
    main {
        scale: 0.9
    }
}
@keyframes move {
    0% {
        transform: rotateY(-20deg) rotateX(-5deg);
    }
    25% {
        transform: rotateY(20deg) rotateX(-5deg);
    }
    50% {
        transform: rotateY(20deg) rotateX(5deg);
    }
    75% {
        transform: rotateY(-20deg) rotateX(5deg);
    }
    100% {
        transform: rotateY(-20deg) rotateX(-5deg);
    }
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    perspective: 1000px;
}
#furiosa_poster {
    aspect-ratio: 9/14;
    background: center / cover no-repeat url('https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/medias/furiosa_back.webp');
    width: 100%;
    max-width: 70vmin;
    position: relative;
    animation: move 10s 0s infinite;
    transform-style: preserve-3d;
    border-radius: 6vmin;
}
#furiosa_poster__header {
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    transform: translateZ(10vmin);
    transform-style: preserve-3d;
}
#furiosa_poster__header__title {
    font-family: 'Agency FB Black';
    font-size: 22vmin;
    position: absolute;
    margin: 0;
    line-height: 1em;
    white-space: nowrap;
    background-image: url('https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/medias/rust.jpg');
    background-size: cover;
    background-position: center;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}
#furiosa_poster__header__title::before {
    content: attr(data-title);
    position: absolute;
    color: #ffc61c5e;
    -webkit-text-fill-color: initial;
    mix-blend-mode: overlay;
    opacity: 1;
    text-shadow: 0px 0px 4vmin rgba(0,0,0,0.4), 1px 1px #bf4528;
}
#furiosa_poster__front_image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    transform: translateZ(20vmin);
    transform-style: preserve-3d;
    filter: drop-shadow(0px 0px 40px rgba(0,0,0,0.4));
    border-radius: 6vmin;
}

#furiosa_poster__anya {
    font-family: 'Agency FB Black';
    font-size: 2.6vmin;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00100b;
    text-shadow: 0px 0px 3vmin rgba(0,0,0,0.7);
    position: absolute;
    top: 5%;
    left: 6%;
    transform: translateZ(5vmin);
    transform-style: preserve-3d;
    margin: 0;
}
#furiosa_poster__chris {
    font-family: 'Agency FB Black';
    font-size: 2.6vmin;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00100b;
    text-shadow: 0px 0px 3vmin rgba(0,0,0,0.7);
    position: absolute;
    top: 5%;
    right: 6%;
    transform: translateZ(5vmin);
    transform-style: preserve-3d;
    margin: 0;
}
#furiosa_poster__george {
    font-family: 'Agency FB Regular';
    font-size: 1.6vmin;
    text-transform: uppercase;
    text-align: center;
    color: white;
    letter-spacing: 0.4em;
    width: 100%;
    position: absolute;
    top: 26%;
    left: 0%;
    transform: translateZ(5vmin);
    transform-style: preserve-3d;
    margin: 0;
}
#furiosa_poster__george strong {
    font-family: 'Agency FB Black';
}
#furiosa_poster__mad_max_saga {
    display: flex;
    justify-content: space-between;
    font-family: 'Agency FB Black';
    font-size: 5vmin;
    line-height: 1em;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: absolute;
    top: 48%;
    left: 0%;
    width: 100%;
    margin: 0;
    transform: translateZ(10vmin);
    /* transform-style: preserve-3d; */
    /* text-shadow: 0px 0px 4vmin rgba(0,0,0,0.4); */
}
#furiosa_poster__mad_max_saga > span {
    display: flex;
    background-image: url('https://cdn.jsdelivr.net/gh/olivier3lanc/cinematics-resources@master/furiosa/medias/rust.jpg');
    background-size: cover;
    background-position: center;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}
#furiosa_poster__mad_max_saga > span::before {
    content: attr(data-title);
    position: absolute;
    color: #ffc61c5e;
    -webkit-text-fill-color: initial;
    mix-blend-mode: overlay;
    opacity: 1;
    text-shadow: 0px 0px 4vmin rgba(0,0,0,0.4), 1px 1px #bf4528;
}
nav {
    position: fixed;
    bottom: 0;
    right: 0;
}
nav a {
    font-size: 16px;
    color: #ffc61c;
    display: inline-flex;
    padding: 2em;
    font-family: 'Agency FB Black';
    font-weight: 900;
    text-transform: uppercase;
    text-decoration-style: dashed;
}
              
            
!

JS

              
                
              
            
!
999px

Console