Pen Settings



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


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.


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.


                <main class="root">
        <section class="container">
            <section class="card">
                <aside class="img"></aside>
                <div class="group__items">
                    <h1>[Free Summit] Join 10k+ testers/developers for one of the biggest online testing conferences!</h1>
                    <p>Register Now to Testμ (TestMu) Conference 2023! It is by the community, for the community! Be it sessions on trends,
                    hands-on learning sessions or talks on building the right culture, we keep 'you' at the centre of it all. 30+ sessions,
                    40+ speakers, workshops, and more!</p>
                    <a href="" class="group__btn" target="_blank">
                        <button class="btn" >Register Now</button>


                 *, *::after, *::before {
        padding: inherit;
        margin: inherit;
        box-sizing: inherit;

    html {
        padding: 0;
        margin: 0;
        box-sizing: border-box;

    .root {
        margin: 4em 0;
        width: 80%;
        margin: 0 auto;

    .container {
        display: flex;
        justify-content: center;

    .card {
        width: 18.75em; /*300px*/
        box-shadow: 0 22px 24px -3px rgb(0,0, 0,0.1), 0 7px 9px -5px rgb(0, 0, 0, 0.1);
        border-top-right-radius: 0.625em; /*10px*/
        border-top-left-radius: 0.625em; /*10px*/
        transition: all 1s ease-in;

     .card:hover .img {
        transform: translateY(5px);
        opacity: 0.8;

    .card:hover .btn{
        text-decoration: underline;

    .card:hover {
        box-shadow: 0 22px 24px -3px rgb(0,0, 0,0.1)

    .img {
        height: calc(31.25em / 2);
        background: url('') no-repeat center center/cover;
        border-top-right-radius: 0.625em; /*10px*/
        border-top-left-radius: 0.625em; /*10px*/

    .group__items {
        padding: 0.3125em; /*5px*/
        margin: 0 0.3125em;

    .card h1 {
        font-size: 1.4em;
        font-family: calibri;

    .card p{
        font-family: calibri;
        padding-bottom: 1em;

    .btn {
        background-color: transparent;
        width: 100%;
        color: #0ebac5;
        border: 1px solid #0ebac5;
        cursor: pointer;
        padding: 0.625em 0;
        transition: background 0.5s ease;

        background: #0ebac5;
        color: #fff;

    .btn::after {
        content: "→";
        position: relative;
        top: 0;
        right: 0;

    .group__btn {
        text-decoration: none;
        display: flex;
        justify-content: center;