cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation


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.

              <nav class="page-group">
    <!-- toggler -->
    <button type="button" class="page-group__toggle visible-xsmall js-show-page-group-list">Contents</button>

    <ol class="page-group__list no-margin js-contents">
        <li class="page-group__item">
            <span class="page-group__text page-group__text--no-link">
                Apply for or renew a Blue Badge in Scotland
        <li class="page-group__item">
            <a data-gtm="guide-p1" class="page-group__text page-group__text--link" href="#">
                What is the Blue Badge scheme?
        <li class="page-group__item">
            <a data-gtm="guide-p2" class="page-group__text page-group__text--link" href="#">
                Eligibility – who can have one?
        <li class="page-group__item">
            <a data-gtm="guide-p3" class="page-group__text page-group__text--link" href="#">
                Using your Blue Badge
        <li class="page-group__item">
            <a data-gtm="guide-p4" class="page-group__text page-group__text--link" href="#">
                Misuse of badges

    <p class="page-group__location visible-xsmall">
            Section <strong>1</strong> of 5
              var classButtonOpen = 'page-group__toggle--open',
    classListExpanded = 'page-group__list--expanded',
    isMobile = $('.page-group__toggle').is(':visible');

function PageGroup() {
    this.button = $('.js-show-page-group-list');
    this.list = this.button.next('.page-group__list');
    var pgroup = this;

    this.button.on('click', function() {
        if ( $(this).hasClass(classButtonOpen) ) {
        } else {

PageGroup.prototype.open = function() {

PageGroup.prototype.close = function() {

new PageGroup();
Loading ..................