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

              
                <body class="bg-[#dfeeff] flex items-center justify-center min-h-screen">
    <div class="w-full sm:max-w-md bg-white text-center px-10 pt-5 pb-10 relative rounded-xl [&_*]:transition-all [&_*]:ease-linear [&_*]:duration-200">
        <div>
            <div class="text-4xl text-slate-400 top-5 right-5 absolute cursor-pointer"><iconify-icon icon="radix-icons:cross-2"></iconify-icon></div>
            <div class="mt-5 mb-8">
                <h2 class="text-3xl font-bold mb-2">Sign Up</h2>
                <p class="text-sm w-[70%] mx-auto">Create an account to unlock all the beneftisto easily,
                     like or submit your favorite content
                </p>
            </div>
            <div class="[&>*]:flex [&>*]:items-center [&>*]:w-fit [&>*]:rounded-md [&>*]:border [&>*]:pl-4 [&>*]:pr-20 [&>*]:py-2 [&>*]:mx-auto [&>*]:my-2 [&>*]:text-sm [&>*:hover]:bg-[#dfeeff] [&>*]:cursor-pointer">
                <div>
                    <div class="text-2xl mr-2">
                        <iconify-icon icon="flat-color-icons:google"></iconify-icon>
                    </div>
                    <div>Sign up with Google</div>
                </div>

                <div>
                    <div class="text-xl text-blue-900 mr-2">
                        <iconify-icon icon="fa-brands:facebook-f"></iconify-icon>
                    </div>
                    <div>Sign up with Facebook</div>
                </div>

                <div>
                    <div class="text-xl mr-2">
                        <iconify-icon icon="logos:twitter"></iconify-icon>
                    </div>
                    <div>Sign up with Twitter</div>
                </div>
            </div>

            <div class="flex items-center gap-1 my-10">
                <input type="checkbox" >
                <p class="text-sm">I'm not interested in update about products and services</p>
            </div>

            <div class="text-blue-400 border border-transparent px-4 py-2 w-fit mx-auto rounded-md cursor-pointer hover:bg-blue-400 hover:text-white"><h2>Sign In</h2></div>
        </div>
    </div>

<script src="https://code.iconify.design/iconify-icon/1.0.2/iconify-icon.min.js"></script>    
</body>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console