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

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

              
                <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="style.css">
    <title>Conic Gradient Background and 3D Button</title>
</head>
<body>
    
    <h1>Tilret Web Design</h1>
    
</body>
</html>
              
            
!

CSS

              
                * {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html {
    width:100%;
    height:100%;
}

body {
    width:100vw;
    min-height:100vh;
    background:conic-gradient(rgb(247, 167, 167) 0 22.5deg, red 22.5deg 67.5deg, rgb(211, 110, 110) 67.5deg 202.5deg, rgb(68, 34, 34) 202.5deg 247.5deg, rgb(139, 38, 38) 247.5deg 360deg);

    position:relative;
    overflow-x:hidden;
  /*  background:conic-gradient(rgb(0, 0, 0) 0 45deg, rgb(0, 0, 0) 45deg 135deg, #292929 135deg 175deg, yellow 175deg 178deg, #292929 178deg 182deg, yellow 182deg 185deg, #292929 185deg 225deg, rgb(0, 0, 0) 225deg 315deg, rgb(0, 0, 0) 315deg 360deg);
   */

   }


h1 {
    position:absolute;
    top:50%;
    left:50%;
    width:600px;
    text-align:center;
    font-size:3rem;
    color:transparent;
    -webkit-text-stroke: 1px black;
    font-family:sans-serif;
    text-transform: uppercase;
    transform:translate(-50%, -50%);
    transition:0.6s linear;
    border:1px solid black;
    }

    h1::before {
        content:"Tilret Web Design";
        position:absolute;
        top:0%;
        left:0%;
        width:100%;
        text-align:center;
        font-size:3rem;
        color:transparent;
        -webkit-text-stroke: 1px blue;
        font-family:sans-serif;
        text-transform: uppercase;
        transform:translate(5px, -5px);
        opacity:1;
        transition:0.3s linear;
        border:1px solid black;
        }

   h1::after {
        content:"Tilret Web Design";
        position:absolute;
        top:0;
        left:0;
        width:100%;
        text-align:center;
        font-size:3rem;
        color:transparent;
        -webkit-text-stroke: 1px white;
        font-family:sans-serif;
        text-transform: uppercase;
        transform:translate(10px, -10px);
        opacity:1;
        transition:0.3s linear;
        border:1px solid black;
        } 

   h1:hover::before {
    transform:translate(0px, 0px);
    } 

    h1:hover::after {
        transform:translate(0px, 0px);
        color:rgba(255, 255, 255, 0.5);
    } 

   
              
            
!

JS

              
                
              
            
!
999px

Console