Collection of free HTML/CSS header and footer code examples: sticky, fixed, etc. Update of April 2019 collection. 5 new items. About the codeNon Rectangular HeadersNon-Rectangular header with inline SVG. Compatible browsers: Chrome, Edge, Firefox, Opera, Safari Responsive: yes Dependencies: - Author
About the codeCurve HeaderPure CSS curve header. Author
Made with
About the codeHeader Image Parallax Scrolling Effect with CSSCreate a parallax scrolling effect using CSS background-image position. This script works when the header image is positioned at the top of the page. Author
About the codeFixed Angled HeaderThis pen shows how CSS pseudo-elements and transforms can be used to create a fixed, angled header with an image background. Author
Made with
About the codeSkewed HeaderSkewed header with HTML and CSS. Author
Made with
About the codeCurve SVG Background AnimationCurve SVG background animation for header. CSS Animated HeaderAnimated blog
header background image, no JavaScript. Slanted Div, Fixed HeaderSkewed divs and parallax effect created by fixed header. Simple layout and instructions for modification in the JS! CSS HeaderHTML and CSS fixed disappearing scrolling header. Multi-Layered Parallax IllustrationHTML, CSS and JavaScript multi-layered parallax illustration. Hero IdeaHero idea in HTML, CSS and JavaScript. Headings/Hero Image Typography PlaygroundExplanation is at the top of CSS file. Just some typefaces, helper classes and few presets for easily testing headings typography. Hero Zoom On ScrollSimple zoom effect using window scroll to adjust some CSS. Neat Parallax Hero EffectSome JavaScript magic to make this nifty little parallax hero. Fixed Post HeaderFixed header for each post with HTML, CSS and JavaScript. CSS Parallax Header ImageHTML and CSS parallax header image. Author
Made with
About the codeHover Effect for Headers8 hover effects for header in HTML and CSS. Compatible browsers: Chrome, Edge, Firefox, Opera, Safari Responsive: yes Dependencies: - Author
Made with
About the codeHeader / About PageA simple header. Compatible browsers: Chrome, Firefox, Opera, Safari Responsive: yes Dependencies: - Author
About the codeHeader for Landing PageHeader for landing page using Author
About the codeSexy Animated Rainbow Waves HeaderJust a little front-end UI experiment. Hero Image ShowcaseHero image showcase with HTML, CSS and JS. Hero Effect–MagazineA hero image that uses height: Flexbox Hero HeaderSimple parallax hero header with flexbox. Simple Parallax HeaderHTML, CSS and JS simple parallax header with blur. Hero OnScrollHTML, CSS and JS hero on scroll. Fullscreen Header With Background Color CycleFullscreen header with background color cycle in pure CSS. Continuous Scrolling Background Of Sticky HeaderContinuous scrolling background of sticky header in HTML, CSS and JavaScript. Author
Made with
About a codeBlurry HeaderProgressive backdrop blur experiment. Compatible browsers: Chrome, Edge, Opera, Safari Responsive: yes Dependencies: - Author
About a codeJust A Simple Header BarJust a really simple pure CSS header bar. Compatible browsers: Chrome, Edge, Firefox, Opera, Safari Responsive: yes Dependencies: - Author
Made with
About the codeSticky HeadersCompatible browsers: Chrome, Edge, Firefox, Opera, Safari Responsive: yes Dependencies: - Author
Made with
About the codeSticky Header On ScrollHigh performance sticky header with shadow on scroll. Responsive Scrolling Sticky HeaderUsing element
queries to power a layout with a cover image and a nav that sticks to the top of the page on scroll. Scroll HeaderReally smooth on mobile/touch enabled devices. Responsive Scroll HeaderResponsive scroll header in HTML, CSS and JavaScript. Animate Header In/Out After ScrollingUsing jquery-waypoints, well be checking to see when Header FadeHTML, CSS and JavaScript header fade. Fixed Header Scroll Effect And Smart Nav For One-Page SitesRudimentary combination of jQuery fixed header
on scroll and nav active section class effect. Auto Hide Sticky HeaderSetting classes on the header with JavaScript. Sticky Header CSS TransitionFun example of a sticky header utilizing some CSS3 transitions! Top Sliding NavHidden nav that slides in from the top once the page is scrolled. Responsive Sticky Header NavigationCool navigation with HTML, CSS and JS. Fixed Header (Quick Hack)The header is not fixed with a solid background color and there is a fixed Sticky Header Visual TrickCreates a sticky hacky sticker header using CSS without creating a scroll event handler. React Video HeaderSimple React.js video header. Video HeaderVideo header with HTML, CSS and JavaScript. Hero VideoA pen that shows how to create a hero with a background video. Fullscreen Background Video With Mix-Blend-Mode Overlay TextShows full-screen video with effective,
legible text overlay using Video Header AnimationAnimation was customized used Adobe After Effects and rendered to be compatible across all browsers with .ogv and .webm files. Does not
operate in mobile (intentionally). Bootstrap framework for HTML is used, no JavaScript needed. Responsive Video HeaderResponsive video header with gradient in HTML and CSS. Author
About a codeFooter DesignCompatible browsers: Chrome, Edge, Firefox, Opera, Safari Responsive: yes Dependencies: bootstrap.css, font-awesome.css Author
Made with
About a codeCSS Goey FooterCompatible browsers: Chrome, Edge, Firefox, Opera, Safari Responsive: yes Dependencies: - Author
About a codeFooter Always at the Bottom - FlexboxWhen a web page doesn't have enough content to fit the screen, the footer doesn't stay at
the bottom so it ends up looking weird. Solution: Do the layout using flex columns. In addtion to that either, add Compatible browsers: Chrome, Edge, Firefox, Opera, Safari Responsive: yes Dependencies: - Author
Made with
About the codeAnimated Footer ToggleExpand/collapse footer with animations. Compatible browsers: Chrome, Edge, Firefox, Opera, Safari Responsive: yes Dependencies: font-awesome.css Author
About the codeFooter with CSS GridEvenly space links with CSS Grid. No margin or padding needed! Compatible browsers: Chrome, Edge, Firefox, Opera, Safari Responsive: yes Dependencies: - Author
Made with
About the codeFlexbox Sticky FooterA simple example of using Parallax FooterWebsite fixed footer with HTML, CSS and JavaScript. Footer With Content ScaleHTML, CSS and JavaScript footer with content scale. Social Media FooterJust a hover effect for the social media links in the footer of a page. Author
Made with
About the codeAnimated Mobile Footer MenuAnimated mobile footer menu to display 2-3 main actions a user can take on a mobile device. Shows up at 767px (for bootstrap users). Simple Fixed FooterHTML and CSS simple fixed footer. Simple Slide-Out FooterHTML and CSS simple slide-out footer. HTML And CSS Fixed FooterA quick example of a fixed footer. Pure CSS Classy FooterPure CSS transitioned footer. Keeps away from content, shows itself when it needs to be seen. Beautiful Aurora Footer LightsBeautiful Aurora lights display for footer. How do you create a header in HTML?HTML provides 6 tags to create headings i.e. h1, h2, h3, h4, h5 and h6. Use any of the heading tags <h1> to <h6> and every tag will give you the different size of the heading. The <h1>tag defines the most important heading and <h6> defines the least important heading.
How do I create a custom header in CSS?Control the look and feel of the header and footer of your site with your CSS. To edit your CSS, click "Edit" at the right of the "Custom Header / Footer CSS" field under the "Appearance" tab of your Management Console.
How do you add headers and footers in HTML and CSS?Step 1: Firstly, we have to type the Html code in any text editor or open the existing Html file in the text editor in which we want to use the Internal CSS for making a footer.. <! Doctype Html>. <Html>. <Head>. <Title>. Make a footer using Internal CSS and Html.. </Title>. </Head>. <Body>. |