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

              
                <!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Document</title>

</head>

<style>

    * {

        padding: 0;

        margin: 0;

        box-sizing: border-box;

    }

    html {

        height: 100%;

    }

    body {

        color: #fff;

        height: 100%;

        font-family: "Roboto", sans-serif;

        font-weight: 400;

        font-size: 18px;

        letter-spacing: 0.5px;

        background-color: #eeeeee;

        display: flex;

        flex-direction: column;

    }

    .d-flex {

        display: flex;

    }

    .flex-column {

        flex-direction: column;

    }

    .align-items-center {

        align-items: center;

    }

    .justify-content-center {

        justify-content: center;

    }

    .justify-content-between {

        justify-content: space-between;

    }

    .flex-1 {

        flex-grow: 1;

    }

    .h-100 {

        height: 100%;

    }

    .w-100 {

        width: 100%;

    }

    .watch-container {

        position: relative;

        width: 280px;

    }

    .watch-container::after {

        content: "";

        position: absolute;

        height: 280px;

        width: 280px;

        background-color: #333333;

        -webkit-box-shadow: 0 0 60px 40px rgba(80, 80, 80, 0.1);

        -moz-box-shadow: 0 0 60px 40px rgba(80, 80, 80, 0.1);

        box-shadow: 0 0 60px 40px rgba(80, 80, 80, 0.1);

        border-radius: 50%;

        z-index: -1;

    }

    .watch-container .watch {

        height: 280px;

        width: 280px;

        border: 6px solid #000;

        background-color: #333333;

        padding: 6px;

        border-radius: 50%;

        position: absolute;

        box-shadow: inset 0px 0px 20px 0px #ffffff;

    }

    .watch-container .watch .pointers {

        position: absolute;

        left: 0;

        top: 0;

    }

    .watch-container .watch .pointers .pointer-container.seconds .dot,

    .watch-container .watch .pointers .pointer-container.minutes .dot,

    .watch-container .watch .pointers .pointer-container.hours .dot {

        height: 8px;

        width: 8px;

        border-radius: 50%;

        background-color: #fff;

        position: relative;

    }

    .watch-container .watch .pointers .pointer-container.seconds {

        z-index: 2;

        transform: rotateZ(0deg);

        -webkit-animation: animate-seconds 60s infinite linear;

        -o-animation: animate-seconds 60s infinite linear;

        animation: animate-seconds 60s infinite linear;

    }

    @keyframes animate-seconds {

        to {

        transform: rotateZ(360deg);

        }

    }

    .watch-container .watch .pointers .pointer-container.seconds .dot .pointer.seconds {

        height: 90px;

        width: 2px;

        border-radius: 1px;

        background-color: #b71c1c;

        position: absolute;

        bottom: 12px;

    }

    .watch-container .watch .pointers .pointer-container.minutes {

        z-index: 1;

        position: absolute;

        transform: rotateZ(0deg);

        -webkit-animation: animate-minutes 3600s infinite linear;

        -o-animation: animate-minutes 3600s infinite linear;

        animation: animate-minutes 3600s infinite linear;

    }

    @keyframes animate-minutes {

        to {

        transform: rotateZ(360deg);

        }

    }

    .watch-container .watch .pointers .pointer-container.minutes .dot .pointer.minutes {

        height: 85px;

        width: 3px;

        border-radius: 1.5px;

        background-color: #757575;

        position: absolute;

        bottom: 12px;

    }

    .watch-container .watch .pointers .pointer-container.hours {

        z-index: 0;

        position: absolute;

        transform: rotateZ(310deg);

        -webkit-animation: animate-hours 43200s infinite linear;

        -o-animation: animate-hours 43200s infinite linear;

        animation: animate-hours 43200s infinite linear;

    }

    @keyframes animate-hours {

        to {

        transform: rotateZ(670deg);

        }

    }

    .watch-container .watch .pointers .pointer-container.hours .dot .pointer.hours {

        height: 50px;

        width: 3px;

        border-radius: 1.5px;

        background-color: #fff;

        position: absolute;

        bottom: 12px;

    }

    .watch-container .watch .numbers .top::before,

    .watch-container .watch .numbers .middle::before,

    .watch-container .watch .numbers .middle::after,

    .watch-container .watch .numbers .bottom::before {

        display: flex;

        align-items: center;

        justify-content: center;

        height: 32px;

        width: 32px;

        border-radius: 50%;

    }

    .watch-container .watch .numbers .top {

        text-align: center;

    }

    .watch-container .watch .numbers .top::before {

        content: "12";

    }

    .watch-container .watch .numbers .middle::before {

        content: "9";

    }

    .watch-container .watch .numbers .middle::after {

        content: "3";

    }

    .watch-container .watch .numbers .bottom::before {

        content: "6";

    }

    .watch-container .watch .pointers .watch-name {

        position: absolute;

        top: 9rem;

    }

    .watch-container .belt {

        width: 140px;

        height: 385px;

        border-radius: 10px;

        background-color: #212121;

        box-shadow: 0px 0px 20px #000000eb;

    }

</style>

<body>

    <div class="d-flex flex-column flex-1 align-items-center justify-content-center">

        <div class="watch-container d-flex align-items-center justify-content-center">

            <div class="watch">

                <div class="pointers h-100 w-100 d-flex align-items-center justify-content-center">

                    <div class="pointer-container seconds">

                        <div class="dot d-flex justify-content-center">

                            <div class="pointer seconds"></div>

                        </div>

                    </div>

                <div class="pointer-container minutes">

                    <div class="dot d-flex justify-content-center">

                        <div class="pointer minutes"></div>

                    </div>

                </div>

                <div class="pointer-container hours">

                    <div class="dot d-flex justify-content-center">

                        <div class="pointer hours"></div>

                    </div>

                </div>

                <div class="watch-name">

                    <h6>Arnav</h6>

                </div>

            </div>

            <div class="numbers h-100 d-flex flex-column justify-content-between">

                <div class="top d-flex justify-content-center"></div>

                <div class="middle d-flex justify-content-between"></div>

                <div class="bottom d-flex justify-content-center"></div>

            </div>

            </div>

            <div class="belt"></div>

        </div>

    </div>                            

</body>

</html> 

                            

                        


              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console