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

              
                <div id="app">
    <a href="#main" class="c-skip-link"><span class="o-button o-button--secondary">Skip to main content</span></a> 
    <div class="o-grid o-container">
    </div>
    <header id="site-header" class="c-site-header">
        <div class="c-site-header__container o-container">
            <a href="/" class="c-site-header__logo h--brand" style="width:15vw">
                <h1>Logo</h1>
            </a>
            <nav aria-label="Site Menu." class="c-site-header__nav--primary o-nav o-nav--primary h-text--h5">
                <ul class="o-nav__list">
                    <li class="o-nav__item c-site-header__trigger"><a href="#site-menu" id="js-menu-open" class="o-button o-button--icon js-menu-open"><span class="o-button__text h-text--h5">Menu</span><span class="icon i-menu"><svg width="22" height="18" viewBox="0 0 22 18" version="1.1" xmlns="http://www.w3.org/2000/svg" focusable="false">
                                    <path d="M.649 10.87a.567.567 0 0 1-.422-.164.633.633 0 0 1-.195-.46L0 7.785c0-.175.065-.328.195-.46a.62.62 0 0 1 .454-.196h20.702c.216.043.368.109.454.197.13.13.195.284.195.459l-.032 2.461c0 .438-.206.646-.617.624H.649zm0 7.128a.567.567 0 0 1-.422-.164.633.633 0 0 1-.195-.46L0 14.915c0-.175.065-.329.195-.46a.62.62 0 0 1 .454-.197h20.702c.216.044.368.11.454.197.13.131.195.285.195.46l-.032 2.46c0 .438-.206.646-.617.624H.649zm0-14.257a.567.567 0 0 1-.422-.164.633.633 0 0 1-.195-.46L0 .658C0 .48.065.327.195.196A.62.62 0 0 1 .649 0h20.702c.216.044.368.11.454.197.13.131.195.284.195.46l-.032 2.46c0 .438-.206.646-.617.624H.649z" fill="currentColor" fill-rule="nonzero" stroke="none" stroke-width="1"></path>
                                </svg></span></a></li>
                    <li class="o-nav__item"><a rel="prefetch" href="#/whats-on" class="o-nav__link is-active">
                             Active Link
                        </a></li>
                    <li class="o-nav__item"><a rel="prefetch" href="#/whats-on/calendar" class="o-nav__link ">
                             Link
                        </a></li>
                    <li class="o-nav__item"><a rel="prefetch" href="#/classes" class="o-nav__link ">
                             Link
                        </a></li>
                    <li class="o-nav__item"><a rel="prefetch" href="#/take-part" class="o-nav__link ">
                             Link
                        </a></li>
                    <li class="o-nav__item"><a rel="prefetch" href="#/visit" class="o-nav__link ">
                             Link
                        </a></li>
                    <li class="o-nav__item"><a rel="prefetch" href="#/hire" class="o-nav__link ">
                             Link
                        </a></li>
                    <li class="o-nav__item"><a href="#/search" aria-label="Search" class="o-nav__link o-nav__link--icon"><span class="o-nav__icon icon i-search--large"><svg width="30" height="30" viewBox="0 0 30 30" version="1.1" xmlns="http://www.w3.org/2000/svg" focusable="false">
                                    <path d="M21.875 18.281l-.313.547L30 27.344 27.344 30l-8.438-8.516-.547.391c-2.083 1.302-4.244 1.953-6.484 1.953-3.281 0-6.08-1.172-8.398-3.515C1.159 17.968 0 15.155 0 11.874c0-3.281 1.159-6.08 3.477-8.398C5.794 1.159 8.594 0 11.875 0c3.281 0 6.08 1.159 8.398 3.477 2.318 2.317 3.477 5.117 3.477 8.398 0 2.292-.625 4.427-1.875 6.406zm-3.36-13.047C16.694 3.411 14.48 2.5 11.876 2.5s-4.818.911-6.64 2.734C3.41 7.057 2.5 9.271 2.5 11.875s.911 4.818 2.734 6.64c1.823 1.824 4.037 2.735 6.641 2.735s4.818-.911 6.64-2.734c1.876-1.875 2.813-4.089 2.813-6.641 0-2.552-.937-4.766-2.812-6.64z" fill="currentColor" stroke="none" stroke-width="1" fill-rule="evenodd"></path>
                                </svg></span></a></li>
                </ul>
            </nav>
            <nav aria-label="Account Links." class="c-site-header__nav--secondary o-nav o-nav--secondary h-text--label h-only-desktop">
                <ul class="o-nav__list">
                    <li class="o-nav__item"><a href="#/account" class="o-nav__link">
                           Link
                        </a></li>
                    <li class="o-nav__item"><a href="#/basket" class="o-nav__link">
                            Link
                        </a></li>
                    <li class="o-nav__item c-site-header__tel"><a href="tel:02037737161" class="o-nav__link h-text--body h-text--grey h-text--semibold">
                            Box Office: 020 1234 5678
                        </a></li>
                </ul>
            </nav>
        </div>
    </header>
    <nav id="site-menu" aria-label="Site Menu" hidden="hidden" class="c-site-menu h-except-desktop">
        <h3 class="h-accessibility">Site Menu</h3>
        <div class="c-site-menu__container o-container"><a href="/" class="c-site-header__logo"><span class="icon i-logo"></span>
                <h1 class="h-accessibility">Site Name</h1>
            </a>
            <a href="#main" id="js-menu-close" class="c-site-menu__trigger js-menu-close o-button o-button--icon"><span class="o-button__text h-text--h5">Close</span><span class="icon i-close"><svg width="22" height="22" viewBox="0 0 22 22" version="1.1" xmlns="http://www.w3.org/2000/svg" focusable="false">
                        <path d="M11 22C4.925 22 0 17.075 0 11S4.925 0 11 0s11 4.925 11 11-4.925 11-11 11zm5.51-7.14l-3.869-3.89 3.87-3.83c.195-.177.195-.363 0-.56l-1.085-1.12a.397.397 0 0 0-.293-.117c-.078 0-.176.04-.293.118L11 9.29l-3.84-3.83a.397.397 0 0 0-.293-.118c-.078 0-.176.04-.293.118L5.489 6.58c-.195.196-.195.392 0 .589L9.36 11l-3.87 3.86a.4.4 0 0 0-.117.294.4.4 0 0 0 .117.295l1.114 1.09a.397.397 0 0 0 .293.118c.098 0 .186-.04.264-.118L11 12.68l3.84 3.86a.397.397 0 0 0 .293.118c.098 0 .186-.04.264-.118l1.114-1.09a.4.4 0 0 0 .117-.295.4.4 0 0 0-.117-.294z" fill="currentColor" fill-rule="nonzero" stroke="none" stroke-width="1"></path>
                    </svg></span></a>
            <nav aria-label="Account Links." class="c-site-menu__nav--secondary">
                <ul class="o-nav__list o-nav__list--center">
                    <li class="o-nav__item"><a href="#" class="o-nav__link">
                           Link
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link">
                           Link
                        </a></li>
                </ul>
            </nav>
            <nav aria-label="Main Site Sections." class="c-site-menu__nav--primary o-nav o-nav--columns o-nav--primary h-text--h4">
                <ul class="o-nav__list">
                    <li class="o-nav__item"><a href="#" class="o-nav__link is-active">
                             Link
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link ">
                             Link
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link ">
                             Link
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link ">
                             Link
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link ">
                             Link
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link ">
                             Link
                        </a></li>
                </ul>
            </nav><a href="tel:02012345678" class="c-site-menu__tel h-text--h4 h-text--semibold h-text--grey">
                020 1234 5678
            </a>
            <div class="c-site-menu__search o-grid__item--full">
                <div class="o-container">
                    <form action="#" class="c-search-form">
                      <label for="q" class="h-accessibility">Enter Search terms</label>
                      <input id="q" name="q" type="Search" placeholder="Search" class="c-search-form__input">
                      <button type="submit" class="c-search-form__action o-button--icon o-button"><span class="icon i-search"><svg width="30" height="30" viewBox="0 0 30 30" version="1.1" xmlns="http://www.w3.org/2000/svg" focusable="false">
                                    <path d="M29.727 25.234c.364.365.364.73 0 1.094l-3.355 3.438c-.156.156-.364.234-.624.234a.748.748 0 0 1-.546-.234l-6.554-6.72c-1.977 1.199-4.058 1.798-6.242 1.798-3.381 0-6.294-1.211-8.739-3.633C1.222 18.789 0 15.859 0 12.42c0-3.437 1.222-6.366 3.667-8.788C6.112 1.21 9.025 0 12.406 0c3.38 0 6.28 1.21 8.7 3.633 2.418 2.422 3.627 5.351 3.627 8.789 0 2.187-.546 4.219-1.638 6.094l6.632 6.718zM17.94 7.201c-1.473-1.517-3.26-2.276-5.364-2.276s-3.905.746-5.404 2.237c-1.498 1.49-2.248 3.283-2.248 5.375 0 2.093.75 3.885 2.248 5.376 1.5 1.49 3.3 2.236 5.404 2.236 2.103 0 3.891-.745 5.364-2.236 1.472-1.491 2.208-3.283 2.208-5.376 0-2.092-.736-3.871-2.208-5.336z" fill="currentColor" fill-rule="nonzero" stroke="none" stroke-width="1"></path>
                                </svg></span></button></form>
                </div>
            </div>
            <div class="c-site-menu__nav--tertiary o-panel o-grid__item--full h-invert">
                <nav class="o-container o-nav o-nav--columns h-invert h-text--small">
                    <h4 class="h-accessibility">More Site Pages.</h4>
                    <ul class="o-nav__list">
                        <li class="o-nav__item"><a href="#/about-hac" class="o-nav__link ">
                                About HAC
                            </a></li>
                        <li class="o-nav__item"><a href="#/about-hac/history" class="o-nav__link ">
                                History
                            </a></li>
                        <li class="o-nav__item"><a href="#/visit/how-to-book" class="o-nav__link ">
                                Booking Tickets
                            </a></li>
                        <li class="o-nav__item"><a href="#/visit/access" class="o-nav__link ">
                                Access &amp; Facilities
                            </a></li>
                        <li class="o-nav__item"><a href="#/visit/food-drink" class="o-nav__link ">
                                Food &amp; Drink
                            </a></li>
                        <li class="o-nav__item"><a href="#/take-part/arts-award" class="o-nav__link ">
                                Arts Award
                            </a></li>
                        <li class="o-nav__item"><a href="#/take-part/schools" class="o-nav__link ">
                                For Schools
                            </a></li>
                        <li class="o-nav__item"><a href="#/contact" class="o-nav__link ">
                                Contact
                            </a></li>
                        <li class="o-nav__item"><a href="#/about-hac/resident-companies" class="o-nav__link ">
                                Harrow Music Service
                            </a></li>
                        <li class="o-nav__item"><a href="https://headstonemanor.org/" class="o-nav__link ">
                                Headstone Manor &amp; Museum
                            </a></li>
                        <li class="o-nav__item"><a href="#/mailing-list" class="o-nav__link ">
                                Join our Mailing List
                            </a></li>
                    </ul>
                </nav>
            </div><a href="#main" class="h-accessibility c-site-menu__return js-menu-close">Return to main</a>
        </div>
    </nav>
    <main role="main" id="main" tabindex="0" class="c-site-main">
        <div class="o-page-grid o-container ">
            <header class="c-page-header  c-page-header--category o-grid__item--full ">
                <div class="c-page-header__container o-container">
                    <h1 class="c-page-header__title h-text--h1">
                        Category
                    </h1>
                    <section class="c-page-header__filter">
                        <!-- in production this select has some Vue selecting and managing focus with aria-activedescendant-->
                        <div class="c-select c-select--category"><button aria-haspopup="listbox" class="c-select__trigger"><span class="c-select__selected">Filter by category</span><span class="c-select__icon icon i-chevron--down"><svg width="63" height="40" viewBox="0 0 63 40" version="1.1" xmlns="http://www.w3.org/2000/svg" focusable="false">
                                        <path d="M54.8.587a1.896 1.896 0 0 1 2.743 0l4.933 5.172a1.896 1.896 0 0 1 0 2.617L32.872 39.413a1.896 1.896 0 0 1-2.744 0L.524 8.376a1.896 1.896 0 0 1 0-2.617L5.457.587a1.896 1.896 0 0 1 2.743 0l23.3 24.428L54.8.587z" fill="currentColor" fill-rule="nonzero" stroke="none" stroke-width="1"></path>
                                    </svg></span></button>
                            <ul role="listbox" id="category" tabindex="-1" aria-labelledby="category" aria-activedescendant="category__one" class="c-select__list">
                                <li role="option" class="c-select__item"><a href="/whats-on" class="c-select__link">Show All</a></li>
                                <li role="option" class="c-select__item "><a href="#/whats-on/category/comedy" class="c-select__link">Comedy</a></li>
                                <li role="option" class="c-select__item "><a href="#/whats-on/category/music" class="c-select__link">Music</a></li>
                                <li role="option" class="c-select__item "><a href="#/whats-on/category/dance" class="c-select__link">Dance</a></li>
                                <li role="option" class="c-select__item "><a href="#/whats-on/category/theatre" class="c-select__link">Theatre</a></li>
                                <li role="option" class="c-select__item "><a href="#/whats-on/category/film" class="c-select__link">Film</a></li>
                                <li role="option" class="c-select__item "><a href="#/whats-on/category/spoken-word" class="c-select__link">Spoken Word</a></li>
                                <li role="option" class="c-select__item "><a href="#/whats-on/category/visual-arts" class="c-select__link">Visual Arts</a></li>
                                <li role="option" class="c-select__item "><a href="#/whats-on/category/family" class="c-select__link">Family</a></li>
                            </ul>
                        </div>
                    </section>
                </div>
            </header>
            <div class="o-page-grid__content">
                <section class="o-grid h-ie-ungrid"></section>
                <section aria-label="Main Listing">
                    <h3 class="h-accessibility">List of Events</h3>
                    <ol class="o-grid o-grid--airy o-list h-ie-grid h-ie-grid--321">
                        <li class="o-grid__item o-grid__item--first h-colspan--321">
                            <a href="#/whats-on/event/summer-music-camp-2019" class="c-card c-card--event c-card--brand-music">
                                <div aria-hidden="true" class="c-card__image">
                                  <div class="o-image" style="padding-top: 59.7765%;"></div>
                                </div>
                                <h3 class="c-card__title h-text--h5">
                                   Event Name
                                </h3><span class="c-card__badge o-badge h-text--badge">HAC Highlight </span>
                                <h4 class="c-card__datetime"><time datetime="2019-07-25T10:30:00+01:00" itemprop="startDate">Thu 25</time> – <time datetime="2019-07-31T18:00:00+01:00" itemprop="endDate">Wed 31 Jul</time></h4>
                                <p class="c-card__tags h-text--label"><span class="h-accessibility">Categories: </span><span class="c-card__tag c-tag">Tag /&nbsp;</span><span class="c-card__tag c-tag">Tag</span> </p><span class="c-card__action o-button">
                                    Info / Book
                                </span>
                            </a>
                        </li>
                        <li class="o-grid__item o-grid__item--first h-colspan--321">
                            <a href="#/whats-on/event/open-mic-night" class="c-card c-card--event c-card--brand-music">
                                <div aria-hidden="true" class="c-card__image">
                                   <div class="o-image" style="padding-top: 59.7765%;"></div>
                                </div>
                                <h3 class="c-card__title h-text--h5">
                                    Event Name
                                </h3><span class="c-card__badge o-badge h-text--badge">Presented by HAC </span>
                                <h4 class="c-card__datetime"><time datetime="2019-07-25T20:00:00+01:00" itemprop="startDate">Thu 25 Jul</time> – <time datetime="2019-08-29T20:00:00+01:00" itemprop="endDate">Thu 29 Aug</time></h4>
                                <p class="c-card__tags h-text--label"><span class="h-accessibility">Categories: </span><span class="c-card__tag c-tag">Tag</span> </p><span class="c-card__action o-button">
                                    Info / Book
                                </span>
                            </a>
                        </li>
                        <li class="o-grid__item o-grid__item--first h-colspan--321">
                            <a href="#/whats-on/event/hiu-sham-unka" class="c-card c-card--event c-card--brand-music">
                                <div aria-hidden="true" class="c-card__image">
                                   <div class="o-image" style="padding-top: 59.7765%;"></div>
                                </div>
                                <h3 class="c-card__title h-text--h5">
                                  Event Name
                                </h3>
                                <h4 class="c-card__datetime"><time datetime="2019-07-27T20:30:00+01:00" itemprop="startDate">Sat 27 July</time></h4>
                                <p class="c-card__tags h-text--label"><span class="h-accessibility">Categories: </span><span class="c-card__tag c-tag">Tag</span> </p><span class="c-card__action o-button">
                                    Info / Book
                                </span>
                            </a>
                        </li>
                        <li class="o-grid__item o-grid__item--first h-colspan--321">
                            <a href="#/whats-on/event/nabil-abdul-rashid-brap" class="c-card c-card--event c-card--brand-comedy">
                                <div aria-hidden="true" class="c-card__image">
                                    <div class="o-image" style="padding-top: 59.7765%;"></div>
                               
                                </div>
                                <h3 class="c-card__title h-text--h5">
                                    Event Name
                                </h3>
                                <h4 class="c-card__datetime"><time datetime="2019-07-27T20:30:00+01:00" itemprop="startDate">Sat 27 July</time></h4>
                                <p class="c-card__tags h-text--label"><span class="h-accessibility">Categories: </span><span class="c-card__tag c-tag">Tag</span> </p><span class="c-card__action o-button">
                                    Info / Book
                                </span>
                            </a>
                        </li>
                        <li class="o-grid__item o-grid__item--first h-colspan--321">
                            <a href="#/whats-on/event/a-midsummer-nights-dream" class="c-card c-card--event c-card--brand-family">
                                <div aria-hidden="true" class="c-card__image">
                                    <div class="o-image" style="padding-top: 59.7765%;"></div>
                                   
                                </div>
                                <h3 class="c-card__title h-text--h5">
                                   Event Name
                                </h3><span class="c-card__badge o-badge h-text--badge">HAC Highlight </span>
                                <h4 class="c-card__datetime"><time datetime="2019-07-29T19:00:00+01:00" itemprop="startDate">Mon 29 July</time></h4>
                                <p class="c-card__tags h-text--label"><span class="h-accessibility">Categories: </span><span class="c-card__tag c-tag">Tag /&nbsp;</span><span class="c-card__tag c-tag">Tag</span> </p><span class="c-card__action o-button">
                                    Info / Book
                                </span>
                            </a>
                        </li>
                        <li class="o-grid__item o-grid__item--first h-colspan--321">
                            <a href="#/whats-on/event/quiz-night" class="c-card c-card--event c-card--brand-spoken-word">
                                <div aria-hidden="true" class="c-card__image">
                                    <div class="o-image" style="padding-top: 59.7765%;"></div>
                                </div>
                                <h3 class="c-card__title h-text--h5">
                                     Event Name
                                </h3><span class="c-card__badge o-badge h-text--badge">Presented by HAC </span>
                                <h4 class="c-card__datetime"><time datetime="2019-07-04T20:30:00+01:00" itemprop="startDate">Thu 4 Jul</time> – <time datetime="2019-12-05T19:30:00+00:00" itemprop="endDate">Thu 5 Dec</time></h4>
                                <p class="c-card__tags h-text--label"><span class="h-accessibility">Categories: </span><span class="c-card__tag c-tag">Tag</span> </p><span class="c-card__action o-button">
                                    Info / Book
                                </span>
                            </a>
                        </li>
                        <li class="o-grid__item o-grid__item--last h-colspan--321">
                            <a href="#/whats-on/event/alice-in-wonderland" class="c-card c-card--event c-card--brand-family">
                                <div aria-hidden="true" class="c-card__image">
                                    <div class="o-image" style="padding-top: 59.7765%;"></div>
                                </div>
                                <h3 class="c-card__title h-text--h5">
                                    Event Name
                                </h3><span class="c-card__badge o-badge h-text--badge">Presented by HAC </span>
                                <h4 class="c-card__datetime"><time datetime="2019-08-19T19:00:00+01:00" itemprop="startDate">Mon 19 August</time></h4>
                                <p class="c-card__tags h-text--label"><span class="h-accessibility">Categories: </span><span class="c-card__tag c-tag">Tag /&nbsp;</span><span class="c-card__tag c-tag">Tag</span> </p><span class="c-card__action o-button">
                                    Info / Book
                                </span>
                            </a>
                        </li>
                        <li class="o-grid__item o-grid__item--last h-colspan--321">
                            <a href="#/whats-on/event/vaibhav-vashistha-1-1-1-1" class="c-card c-card--event c-card--brand-music">
                                 <div aria-hidden="true" class="c-card__image">
									<div class="o-image" style="padding-top: 59.7765%;"></div>
                                </div>
                                <h3 class="c-card__title h-text--h5">
                                   Event Name
                                </h3>
                                <h4 class="c-card__datetime"><time datetime="2019-08-24T20:30:00+01:00" itemprop="startDate">Sat 24 August</time></h4>
                                <p class="c-card__tags h-text--label"><span class="h-accessibility">Categories: </span><span class="c-card__tag c-tag">Tag</span> </p><span class="c-card__action o-button">
                                    Info / Book
                                </span>
                            </a>
                        </li>
                        <li class="o-grid__item o-grid__item--last h-colspan--321">
                            <a href="#/whats-on/event/india-vs-pakistan-comedy-clash" class="c-card c-card--event c-card--brand-comedy">
                                <div aria-hidden="true" class="c-card__image">
                                    <div class="o-image" style="padding-top: 59.7765%;"></div>
                                </div>
                                <h3 class="c-card__title h-text--h5">
                                     Event Name
                                </h3>
                                <h4 class="c-card__datetime"><time datetime="2019-09-06T21:00:00+01:00" itemprop="startDate">Fri 6 September</time></h4>
                                <p class="c-card__tags h-text--label"><span class="h-accessibility">Categories: </span><span class="c-card__tag c-tag">Tag</span> </p><span class="c-card__action o-button">
                                    Info / Book
                                </span>
                            </a>
                        </li>
                        <li class="o-grid__item o-grid__item--last h-colspan--321">
                            <a href="#/whats-on/event/khan-dhamaka" class="c-card c-card--event c-card--brand-music">
                                <div aria-hidden="true" class="c-card__image">
                                    <div class="o-image" style="padding-top: 59.7765%;"></div>
                                </div>
                                <h3 class="c-card__title h-text--h5">
                                     Event Name
                                </h3>
                                <h4 class="c-card__datetime"><time datetime="2019-09-07T20:30:00+01:00" itemprop="startDate">Sat 7 September</time></h4>
                                <p class="c-card__tags h-text--label"><span class="h-accessibility">Categories: </span><span class="c-card__tag c-tag">Tag</span> </p><span class="c-card__action o-button">
                                    Info / Book
                                </span>
                            </a>
                        </li>
                        <li class="o-grid__item o-grid__item--last h-colspan--321">
                            <a href="#/whats-on/event/an-evening-with-parry" class="c-card c-card--event c-card--brand-music">
                                <div aria-hidden="true" class="c-card__image">
                                    <div class="o-image" style="padding-top: 59.7765%;"></div>
                                </div>
                                <h3 class="c-card__title h-text--h5">
                                     Event Name
                                </h3>
                                <h4 class="c-card__datetime"><time datetime="2019-09-13T21:00:00+01:00" itemprop="startDate">Fri 13 September</time></h4>
                                <p class="c-card__tags h-text--label"><span class="h-accessibility">Categories: </span><span class="c-card__tag c-tag">Tag</span> </p><span class="c-card__action o-button">
                                    Info / Book
                                </span>
                            </a>
                        </li>
                        <li class="o-grid__item o-grid__item--last h-colspan--321">
                            <a href="#/whats-on/event/desi-central-comedy" class="c-card c-card--event c-card--brand-comedy">
                                <div aria-hidden="true" class="c-card__image">
                                  <div class="o-image" style="padding-top: 59.7765%;"></div>
                                </div>
                                <h3 class="c-card__title h-text--h5">
                                     Event Name
                                </h3><span class="c-card__badge o-badge h-text--badge">Presented by HAC </span>
                                <h4 class="c-card__datetime"><time datetime="2019-09-14T20:30:00+01:00" itemprop="startDate">Sat 14 September</time></h4>
                                <p class="c-card__tags h-text--label"><span class="h-accessibility">Categories: </span><span class="c-card__tag c-tag">Tag</span> </p><span class="c-card__action o-button">
                                    Info / Book
                                </span>
                            </a>
                        </li>
                    </ol>
                    <div class="o-grid__item"></div>
                    <div class="o-grid__item">
                        <nav aria-label="Pagination." class="c-pagination"> 
                            <ol class="c-pagination__list o-list h-text--semibold">
                                <li class="c-pagination__item is-active"><a href="#0" aria-current="page" class="c-pagination__link">1</a></li>
                                <li class="c-pagination__item"><a href="#/whats-on/page-2" rel="prefetch" class="c-pagination__link">2</a></li>
                                <li class="c-pagination__item"><a href="#/whats-on/page-3" rel="prefetch" class="c-pagination__link">3</a></li>
                                <li class="c-pagination__item"><a href="#/whats-on/page-2" class="c-pagination__link"><span aria-label="Next." class="icon i-chevron--right"><svg width="20" height="34" viewBox="0 0 20 34" version="1.1" xmlns="http://www.w3.org/2000/svg" focusable="false">
                                                <path d="M18.368 18.28c.463-.37.695-.88.695-1.529 0-.648-.232-1.158-.695-1.529L3.91.765C2.89-.255 1.848-.255.782.765-.283 1.785-.26 2.803.852 3.823l12.79 12.928L.851 29.68C-.26 30.7-.283 31.719.782 32.738c1.066 1.02 2.109 1.02 3.128 0l14.458-14.457" fill="currentColor" fill-rule="evenodd"></path>
                                            </svg></span></a></li>
                            </ol>
                        </nav>
                        <div class="o-grid__item"></div>
                    </div>
                </section>
            </div>
        </div>
    </main>
    <footer class="c-site-footer h-invert">
        <div class="c-site-footer__container o-container">
            <nav class="c-site-footer__nav--primary o-nav o-nav--columnsort o-nav--primary h-text--h5">
                <h4 class="h-accessibility">Important Site Pages</h4>
                <ul class="o-nav__list">
                    <li class="o-nav__item"><a href="#" class="o-nav__link ">About HAC
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link ">History
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link ">Booking Tickets
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link ">Access &amp; Facilities
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link ">Food &amp; Drink
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link ">Arts Award
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link ">For Schools
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link ">Contact
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link ">Music Service
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link ">Join our Mailing List
                        </a></li>
                </ul>
            </nav>
            <div class="c-site-footer__contact h-text--body o-nav--flow">
                <h4 class="h-accessibility"><a href="#/mailing-list" class="o-nav__link ">Contact Details</a></h4><address class="c-site-footer__address"><a href="#/mailing-list" class="o-nav__link ">
                        Arts Centre, England
                    </a></address><a href="tel:02037737161" class="c-site-footer__tel o-nav__link">
                    020 1234 5678
                </a><span class="c-site-footer__virgule h-only-desktop"> / </span><a href="#" class="c-site-footer__email o-nav__link">
                    box.office@venue.com
                </a>
            </div>
            <div class="c-site-footer__social">
                <nav aria-label="Social Media Links" class="c-site-social ">
                    <ul class="c-site-social__list">
                        <li class="c-site-social__item"><a href="https://www.facebook.com/harrowarts/" rel="noreferrer" class="c-site-social__link"><span class="icon i-social"><svg width="43" height="43" viewBox="0 0 43 43" version="1.1" xmlns="http://www.w3.org/2000/svg" focusable="false">
                                        <path d="M21.5 43C9.626 43 0 33.374 0 21.5S9.626 0 21.5 0 43 9.626 43 21.5 33.374 43 21.5 43zm6.143-29.114V9.829h-3.476c-1.46 0-2.667.576-3.62 1.728-.952 1.152-1.428 2.53-1.428 4.132v2.254h-3.762v3.807h3.762v11.421h4.143v-11.42h3.762l.619-3.808h-4.381V15.24c0-.368.095-.685.286-.952.19-.267.396-.401.619-.401h3.476z" fill="currentColor" fill-rule="nonzero" stroke="none" stroke-width="1"></path>
                                    </svg></span><span class="h-accessibility">Facebook</span></a></li>
                        <li class="c-site-social__item"><a href="https://twitter.com/HarrowArts" rel="noreferrer" class="c-site-social__link"><span class="icon i-social"><svg width="43" height="43" viewBox="0 0 43 43" version="1.1" xmlns="http://www.w3.org/2000/svg" focusable="false">
                                        <path d="M21.5 43C9.626 43 0 33.374 0 21.5S9.626 0 21.5 0 43 9.626 43 21.5 33.374 43 21.5 43zm9.298-25.99a10.42 10.42 0 0 0 1.31-1.12 7.07 7.07 0 0 0 1.063-1.367 9.204 9.204 0 0 1-1.335.497c-.461.133-.923.232-1.385.299.495-.332.924-.721 1.286-1.169a4.3 4.3 0 0 0 .792-1.516c-.462.265-.948.497-1.46.696a8.764 8.764 0 0 1-1.557.447 5.215 5.215 0 0 0-1.583-1.094A4.673 4.673 0 0 0 26 12.286c-1.318 0-2.448.472-3.387 1.417-.94.944-1.41 2.08-1.41 3.406 0 .165.009.34.025.522s.058.373.124.571c-2.012-.099-3.866-.605-5.564-1.516a14.135 14.135 0 0 1-4.327-3.555 5.58 5.58 0 0 0-.47 1.168 4.704 4.704 0 0 0-.173 1.268c0 .829.197 1.6.593 2.312a4.969 4.969 0 0 0 1.533 1.716 6.274 6.274 0 0 1-1.137-.2 5.608 5.608 0 0 1-1.039-.397v.05c0 1.16.371 2.18 1.113 3.057.742.879 1.657 1.434 2.745 1.666l-.618.1c-.215.033-.437.05-.668.05-.132 0-.272-.009-.42-.026a5.471 5.471 0 0 1-.47-.074c.33.961.898 1.757 1.706 2.386.808.63 1.74.962 2.794.995-.824.63-1.739 1.127-2.745 1.491a9.285 9.285 0 0 1-3.19.547c-.197 0-.395-.008-.593-.025a7.106 7.106 0 0 0-.593-.024 15.383 15.383 0 0 0 3.486 1.566c1.237.381 2.53.572 3.882.572 2.21 0 4.155-.415 5.836-1.243 1.682-.83 3.1-1.898 4.253-3.207a13.726 13.726 0 0 0 2.621-4.4c.594-1.625.89-3.232.89-4.823v-.324-.323z" fill="currentColor" fill-rule="nonzero" stroke="none" stroke-width="1"></path>
                                    </svg></span><span class="h-accessibility">Twitter</span></a></li>
                    </ul>
                </nav>
            </div>
            <div class="c-site-footer__logos"></div>
            <nav class="c-site-footer__nav--secondary o-nav o-nav--tertiary h-text--label">
                <h4 class="h-accessibility">Legal Pages</h4>
                <ul class="o-nav__list">
                    <li class="o-nav__item"><a href="#" class="o-nav__link">
                            Privacy
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link">
                            Site Map
                        </a></li>
                    <li class="o-nav__item"><a href="#" class="o-nav__link">
                            Cookies
                        </a></li>
                </ul>
            </nav>
            <div class="c-site-footer__meta o-nav--flow h-text--small">
                <h4 class="h-accessibility">Small Print.</h4>
                Copyright © 2019 Harrow Arts Centre. Website by <a href="https://supercooldesign.co.uk" class="o-nav__link h-text--semibold">Supercool</a>
            </div>
        </div>
    </footer>
              
            
!

CSS

              
                /**
 * Name         : Card
 * Description  : Cards are the main media object. Lay these out ASAP.
 * State        : green
 */

.c-card {
   //list all possible  elements  of card
  @include grid-template(image, title, badge, tags, summary, datetime, action);
  
  // layout
  display: grid;   
  grid-gap: 0 $b/2;
  height: 100%; //stretch to row height because our cards don't know they are in a parent grid
  grid-template-rows: min-content min-content 1fr 1fr;
  grid-template-columns: 1fr min-content;
  grid-template-areas:
      "image     image"
      "title     title"
      "datetime  datetime"
      "tags      action";
  
  
  // styles per element
  &__image { 
    margin: 0 0 $b/2 0;
    overflow: hidden 
  }
  &__title {
    margin: 0 auto $b/2 0;
    transition: color 0.4s;

    @include on-event(false, ".c-card") {
      color: color(brand, _500);
      text-decoration: underline;
    }
  }
  &__datetime { 
    @include text--page-date;
    margin: 0 auto $b*.75 0;
  }
  &__tags { margin: auto auto 0 0 }
  &__badge { grid-area: image;}
  &__action {
    margin: auto 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    
    @include on-event(false, ".c-card") {
      background: color(black, _500);
      color: color(white, _500);
      border-color: color(black, _500);
    }
  }
}

/**
 * Variants
 * Types of cards: here only event and class
 *
 */

// 1. event
.c-card {
  &--event, &--class {
    padding-bottom: $b*.75;
    border-bottom: 5px solid;
  }
  // 2. classes is same as event but the colors are only class colour (green)
  &--class {
    border-color: color(brand-classes, _500);
  }
}

// colours like panels
@each $color, $color-map in $colors {
  .c-card--#{$color} {
    // color : color(white, _500);
    border-color: map-get($color-map, _500) !important;
  }
}

.o-spacer {display:block; margin:$b*2 auto}
              
            
!

JS

              
                // webpackJsonp([12], {
//   23: function(t, e, n) {
//     var o, s;
//     o = n(463),
//     s = n(464),
//     t.exports = o || {},
//     t.exports.__esModule && (t.exports = t.exports.default),
//     s && (("function" == typeof t.exports ? t.exports.options : t.exports).template = s)
//   },
//   463: function(t, e, n) {
//     "use strict";
//     Object.defineProperty(e, "__esModule", {
//       value: !0
//     }),
//     e.default = {
//       name: "select",
//       data: function() {
//         return {
//           isOpen: !1
//         }
//       },
//       props: {
//         defaultOption: String,
//         currentOption: String,
//         options: Array
//       },
//       mounted: function() {
//         var t = this;
//         window.addEventListener("click", function(e) {
//           t.$el.contains(e.target) || (t.isOpen = !1)
//         })
//       },
//       methods: {
//         selectToggle: function(t) {
//           this.isOpen = !this.isOpen,
//           console.log(this.isOpen)
//         },
//         selectOption: function(t, e) {
//           this.currentOption = t,
//           this.close()
//         },
//         reset: function() {
//           this.currentOption = this.defaultOption,
//           this.close()
//         },
//         close: function() {
//           this.isOpen = !1
//         }
//       }
//     }
//   },
//   464: function(t, e) {
//     t.exports = '\n  <div class="c-select" :class="{\'is-active\' : isOpen}">\n    <button aria-haspopup="listbox" class="o-button--icon c-select__trigger" @click.prevent="selectToggle($event)">\n      <span class="c-select__selected" v-text="currentOption"></span>\n      <span class="c-select__icon icon i-arrow">\n        <svg width="15" height="15" viewBox="0 0 15 15" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#000" fill-rule="nonzero" d="M14 4l-6.5 9L1 4z" stroke="none" stroke-width="1"/></svg>\n      </span>\n    </button>>\n    <ul class="c-select__list" role="listbox" id="category" tabindex="-1" role="listbox" aria-labelledby="category" class="c-dropdown__list" aria-activedescendant="category__theatre">\n  \t\t<li class="c-select__option" role="option" v-for="option in options" v-text="option" @click.prevent="selectOption(option,$event)"></li>\n  \t</ul>\n  </div>\n'
//   }
// });

              
            
!
999px

Console