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.


                <div class="page-template">
<div class="content">
  content here
<div id="ssr-b-nav"><a class="lts_button lts_button_sc lts_button_default lt_rounded lt_flat ssr_button previous" href=""><i class="fa fa-angle-left"></i> Previous
   </a><a class="lts_button lts_button_sc lts_button_default lt_rounded lt_flat ssr_button next" href="">Next <i class="fa fa-angle-right"></i>

<div class="footer_wrap layer_wrapper ">

    <div id="footer">
        <div class="center">
            <!--Copyright Footer START-->
                <div id="copyright" class="soc_right">
                    <div class="center">
                        <!--Site Copyright Text START-->
                                <div class="copytext"></div>
                        <!--Site Copyright Text END-->
                   <div class="foot_right_wrap">  
                        <!--FOOTER MENU START-->   
                                                <div id="footer_menu" class=""><div class="menu-footer"><ul id="menu-ssr-menu-1" class="menu"><li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-75"><a href="">Home</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-69"><a href="">About</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page current-page-ancestor menu-item-has-children menu-item-70"><a href="">Modules</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-68"><a href="">Resources</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-67"><a href="">Contact Us</a></li>
                                                <!--FOOTER MENU END-->
                        <!--SOCIAL ICONS START-->
                            <div class="foot_soc">
<div class="social_bookmarks bookmark_simple bookmark_size_normal">
                        <!--SOCIAL ICONS END-->
                    </div><!--Center END-->
            <!--Copyright Footer END-->



                .content {
  height: 300vh;
.footer_wrap {
  background-color: red;

#ssr-b-nav {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0e3a5f;
    z-index: 1000;
    display: flex;
    justify-content: space-around;


                // console.log('nice to be seeded')

// window.onload = function() {
// 	if(document.querySelector('#ssr-b-nav')){
// 		const footerY = footer.getBoundingClientRect().y;
// 		const footerNav = document.querySelector('#ssr-b-nav');
// 		const footerHeight = footer.getBoundingClientRect().height;
// 		const body = document.body;
// 		const html = document.documentElement;
// 		const pageHeight = Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight);
// 		window.onscroll = function(ev) {
// 			const footerNav = document.querySelector('#ssr-b-nav');
// 		    if ((window.innerHeight + window.pageYOffset) >= pageHeight-footerHeight) {
// 		          const moveIt = (window.innerHeight + window.pageYOffset)-(pageHeight-footerHeight);
// 		       //console.log((window.innerHeight + window.pageYOffset)-(pageHeight-footerHeight));
// = moveIt+'px';
// 		    }
// 		    if ((window.innerHeight + window.pageYOffset) < pageHeight-footerHeight) {
// = '0px';
// 		    }
// 		};

// 	}
// }