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.


                <input type="checkbox" id="menu-toggle" class="menu-icon" />
        <label for="menu-toggle" class="menu-icon"><i class="fa fa-bars mt-2"></i></label>

        <div class="container-content">
                <div class="header-container d-flex justify-content-around container-fluid">
                    <div class="slideout-sidebar order-1">
                        <ul class="d-md-flex flex-md-column flex-lg-row mt-md-4">
                            <li class="brd mr-md-2 align-self-center menu">МЕНИ</li>
                            <li class=" order-lg-last btn-order"> <button class="btn" type="submit">НАРАЧАЈТЕ
                            <li class="brd border-bottom border-top border-primary d-none ">КОНТАКТИРАЈТЕ НЕ</li>
                            <li class="brd d-none">УСЛОВИ ЗА КОРИСТЕЊЕ</li>
                            <li class=" border-bottom border-primary d-none brd">РЕСТОРАНИ</li>
                            <li class="order-lg-first mr-md-4 text-center brd align-self-center">
                                <a class="">МК</a>
                                <div class="d-inline-block 
         language-line"> | </div>
                                <a class="">EN</a>

                    <div class="mx-auto mx-lg-0 mt-2">
                        <img src="./images/logo.png" alt="dominoslogo" class="navbar-brand" />

                    <div class="cart mt-2">
                        <img src="images/basket.png" alt="basket" class="d-lg-none">
                        <span class="header-cart-order d-lg-none">0</span>



                    .navbar-brand {
        margin-bottom: 0;

    .slideout-sidebar {
        position: fixed;
        top: 0px;
        left: -80%;
        height: 100%;
        background-color: #fff;
        transition: all .15s ease-in-out;
        -webkit-box-shadow: inset -15px 0px 10px -15px rgba(0, 0, 0, 0.75);
        box-shadow: inset -15px 0px 10px -15px rgba(0, 0, 0, 0.75);


    .slideout-sidebar ul li {
        display: block !important;
        cursor: pointer;
        padding: 10px 10px;
        letter-spacing: 1px;
        font-weight: 700;
        font-size: 15px;
        color: #0d6490;
        margin: 0;

    .slideout-sidebar button {
        font-size: 1rem !important;
        width: 220px;
        height: 37px;


    .navbar-brand {
        width: 12rem;
        height: 3.2rem;
        margin-left: 50px;

    .container-content {
        position: relative;
        left: 0px;

    #menu-toggle {
        display: none;

    .menu-icon {
        position: fixed;
        top: 5px;
        left: 5px;
        font-size: 35px;
        z-index: 1;
         transition: all.15s ease-in-out;
        padding: 5px 15px;
        background-color: transparent;


    #menu-toggle:checked ~ .slideout-sidebar {
        left: 0;


    #menu-toggle:checked + .menu-icon {
        left: 250px;


    #menu-toggle:checked ~ .container-content {
        -webkit-transform: translateX(80%);
        transform: translateX(80%);
        transition: all .15s ease-in-out;