Css page header and footer

Содержание
  1. 3-8: Introducing HTML5 footer, header, nav, article, section and aside elements
  2. 64 CSS Headers and Footers
  3. Table of Contents
  4. Related Articles
  5. Article Headers
  6. Author
  7. Links
  8. Made with
  9. About the code
  10. Non Rectangular Headers
  11. Author
  12. Links
  13. Made with
  14. About the code
  15. Curve Header
  16. Author
  17. Links
  18. Made with
  19. About the code
  20. Header Image Parallax Scrolling Effect with CSS
  21. Author
  22. Links
  23. Made with
  24. About the code
  25. Fixed Angled Header
  26. Author
  27. Links
  28. Made with
  29. About the code
  30. Skewed Header
  31. Author
  32. Links
  33. Made with
  34. About the code
  35. Curve SVG Background Animation
  36. CSS Animated Header
  37. Slanted Div, Fixed Header
  38. CSS Header
  39. Multi-Layered Parallax Illustration
  40. Hero Idea
  41. Headings/Hero Image Typography Playground
  42. Hero Zoom On Scroll
  43. Neat Parallax Hero Effect
  44. Fixed Post Header
  45. CSS Parallax Header Image
  46. Fullscreen Headers
  47. Author
  48. Links
  49. Made with
  50. About the code
  51. Hover Effect for Headers
  52. Author
  53. Links
  54. Made with
  55. About the code
  56. Header / About Page
  57. Author
  58. Links
  59. Made with
  60. About the code
  61. Header for Landing Page
  62. Author
  63. Links
  64. Made with
  65. About the code
  66. Sexy Animated Rainbow Waves Header
  67. Hero Image Showcase
  68. Hero Effect–Magazine
  69. Flexbox Hero Header
  70. Simple Parallax Header
  71. Hero OnScroll
  72. Fullscreen Header With Background Color Cycle
  73. Continuous Scrolling Background Of Sticky Header
  74. Fixed (Sticky) Headers
  75. Author
  76. Links
  77. Made with
  78. About a code
  79. Blurry Header
  80. Author
  81. Links
  82. Made with
  83. About a code
  84. Just A Simple Header Bar
  85. Author
  86. Links
  87. Made with
  88. About the code
  89. Sticky Headers
  90. Author
  91. Links
  92. Made with
  93. About the code
  94. Sticky Header On Scroll
  95. Responsive Scrolling Sticky Header
  96. Scroll Header
  97. Responsive Scroll Header
  98. Animate Header In/Out After Scrolling
  99. Header Fade
  100. Fixed Header Scroll Effect And Smart Nav For One-Page Sites
  101. Auto Hide Sticky Header
  102. Sticky Header CSS Transition
  103. Top Sliding Nav
  104. Responsive Sticky Header Navigation
  105. Fixed Header (Quick Hack)
  106. Sticky Header Visual Trick
  107. Video Headers
  108. React Video Header
  109. Video Header
  110. Hero Video
  111. Fullscreen Background Video With Mix-Blend-Mode Overlay Text
  112. Video Header Animation
  113. Responsive Video Header

3-8: Introducing HTML5 footer, header, nav, article, section and aside elements

In the next section we will create a simple HTML5 web page, yet more articulated and complete than the minimal page presented here and then style it. In this page, we will use some of the semantic tags specifically introduced in HTML5 and described below.

To keep things as simple as possible to start with and avoid concepts overcrowding, we have deliberately omitted the discussion about these elements in the previous HTML markup section.
Although we will not use all these elements during this course, you should still be familiar with them as you might want to use them for your projects and/or might encounter them in somebody else’s code that you plan to use.
The names of the footer, header, nav, article, section and aside elements are indeed suggestive of their role/meaning, which is however a bit more subtle, flexible and articulated than it might be expected.

Читайте также:  Css правила в html тэгах

The next figure illustrates the “simple” or “expected”, more immediate meaning of these tag elements. As it happens in HTML5 though, these tags are not there to indicate an element physical position on the page, but rather the nature/meaning of the element contents. Therefore the position of the elements as shown in the figure is just a graphical possibility that fits well with the semantics of the elements, which could very well be respected and represented by an entirely different graphical arrangement.

With these warnings in mind figure 3-8-1 is a good starting point for getting familiar with these elements.

Here are some links to articles where these HTML5 elements are discussed:

HTML structural elements – contains an interesting comparison between HTML4 and HTL5.

HTML 5 tags header, footer, nav, article, section, aside, a first glance (warning, could be misleading, see text

It should be pointed out that none of these new tags are required or mandatory in HTML5. They can help improving the semantics of your web pages/website. You may decide to use only one or a few of these tags in your pages, or maybe none. Without, your page will still validate fine as HTML5.

The scaffold code for a page like the one in figure 3-8-1 could be as follows:

Источник

64 CSS Headers and Footers

Collection of free HTML/CSS header and footer code examples: sticky, fixed, etc. Update of April 2019 collection. 5 new items.

Table of Contents

Article Headers

Demo image: Non Rectangular Headers

Author

Made with

About the code

Non Rectangular Headers

Non-Rectangular header with inline SVG.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Curve Header

Author

Made with

About the code

Curve Header

Demo image: Header Image Parallax Scrolling Effect with CSS

Author

Made with

About the code

Header Image Parallax Scrolling Effect with CSS

Create a parallax scrolling effect using CSS background-image position. This script works when the header image is positioned at the top of the page.

Demo image: Fixed Angled Header

Author

Made with

About the code

Fixed Angled Header

This pen shows how CSS pseudo-elements and transforms can be used to create a fixed, angled header with an image background.

Demo image: Skewed Header

Author

Made with

About the code

Skewed Header

Skewed header with HTML and CSS.

Demo image: Curve SVG Background Animation

Author

Made with

About the code

Curve SVG Background Animation

Curve SVG background animation for header.

Demo Image: CSS Animated Header

CSS Animated Header

Animated blog header background image, no JavaScript.
Made by Nodws
May 30, 2017

Demo Image: Slanted Div, Fixed Header

Slanted Div, Fixed Header

Skewed divs and parallax effect created by fixed header. Simple layout and instructions for modification in the JS!
Made by Andrew Bales
January 10, 2017

Demo Image: CSS Header

CSS Header

HTML and CSS fixed disappearing scrolling header.
Made by Dudley Storey
December 3, 2016

Demo Image: Multi-layered Parallax Illustration

Multi-Layered Parallax Illustration

HTML, CSS and JavaScript multi-layered parallax illustration.
Made by Patryk Zabielski
April 27, 2016

Demo Image: Hero Idea

Hero Idea

Hero idea in HTML, CSS and JavaScript.
Made by Jake Lundberg
April 6, 2016

Читайте также:  Python html to png

Demo Image: Headings/Hero Image Typography Playground

Headings/Hero Image Typography Playground

Explanation is at the top of CSS file. Just some typefaces, helper classes and few presets for easily testing headings typography.
Made by Mirko Zorić
March 18, 2016

Demo Image: Hero Zoom On Scroll

Hero Zoom On Scroll

Simple zoom effect using window scroll to adjust some CSS.
Made by Derek Palladino
October 8, 2015

Demo Image: Neat Parallax Hero Effect

Neat Parallax Hero Effect

Some JavaScript magic to make this nifty little parallax hero.
Made by Dominic Magnifico
September 22, 2015

Demo Image: Fixed Post Header

Fixed Post Header

Fixed header for each post with HTML, CSS and JavaScript.
Made by White Wolf Wizard
August 5, 2015

Demo Image: CSS Parallax Header Image

CSS Parallax Header Image

HTML and CSS parallax header image.
Made by Bennett Feely
November 18, 2014

Fullscreen Headers

Author

Made with

About the code

Hover Effect for Headers

8 hover effects for header in HTML and CSS.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Header / About Page

Author

Made with

About the code

Header / About Page

Compatible browsers: Chrome, Firefox, Opera, Safari

Demo image: Header for Landing Page

Author

Made with

About the code

Header for Landing Page

Header for landing page using clip-path .

Demo image: Sexy Animated Rainbow Waves Header

Author

Made with

About the code

Sexy Animated Rainbow Waves Header

Just a little front-end UI experiment.

Demo Image: Hero Image Showcase

Hero Image Showcase

Hero image showcase with HTML, CSS and JS.
Made by Art
May 27, 2017

Demo Image: Hero Effect–Magazine

Hero Effect–Magazine

A hero image that uses height: 100vh to cover the entire screen for a magazine cover effect. When scrolled, it has a subtle animation similar to opening a magazine.
Made by Cameron Campbell
November 15, 2016

Demo Image: Flexbox Hero Header

Flexbox Hero Header

Simple parallax hero header with flexbox.
Made by Ana Vicente
April 5, 2016

Demo Image: Simple Parallax Header

Simple Parallax Header

HTML, CSS and JS simple parallax header with blur.
Made by tsimenis
April 5, 2016

Demo Image: Hero OnScroll

Hero OnScroll

HTML, CSS and JS hero on scroll.
Made by verdzik
November 9, 2015

Demo Image: Fullscreen Header With Background Color Cycle

Fullscreen Header With Background Color Cycle

Fullscreen header with background color cycle in pure CSS.
Made by Kenny Sing
November 17, 2014

Demo Image: Continuous Scrolling Background Of Sticky Header

Continuous Scrolling Background Of Sticky Header

Continuous scrolling background of sticky header in HTML, CSS and JavaScript.
Made by Robert Borghesi
September 17, 2014

Fixed (Sticky) Headers

Author

Made with

About a code

Blurry Header

Progressive backdrop blur experiment.

Compatible browsers: Chrome, Edge, Opera, Safari

Demo image: Just A Simple Header Bar

Author

Made with

About a code

Just A Simple Header Bar

Just a really simple pure CSS header bar.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Author

Made with

About the code

Sticky Headers

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Sticky Header On Scroll

Author

Made with

About the code

Sticky Header On Scroll

High performance sticky header with shadow on scroll.

Demo Image: Responsive Scrolling Sticky Header

Responsive Scrolling Sticky Header

Using element queries to power a layout with a cover image and a nav that sticks to the top of the page on scroll.
Made by Tommy Hodgins
April 9, 2017

Читайте также:  scale()

Demo Image: Scroll Header

Scroll Header

Really smooth on mobile/touch enabled devices.
Made by Blake Bowen
February 11, 2017

Demo Image: Responsive Scroll Header

Responsive Scroll Header

Responsive scroll header in HTML, CSS and JavaScript.
Made by Dylan Macnab
December 28, 2015

Demo Image: Animate Header In/Out After Scrolling

Animate Header In/Out After Scrolling

Using jquery-waypoints, well be checking to see when data-animate-header (this section) is above the top of screen, then animate data-animate-header (the fixed header) in/out accordingly. We’re able to do this with css transitions and a combo of 3 classes ( .header-past , .header-show , .header-hide ) — without having to clone or do any dom manipulating.
Made by antwon
June 16, 2015

Demo Image: Header Fade

Header Fade

HTML, CSS and JavaScript header fade.
Made by Emmanuel Pilande
March 7, 2015

Demo Image: Fixed Header Scroll Effect And Smart Nav For One-Page Sites

Fixed Header Scroll Effect And Smart Nav For One-Page Sites

Rudimentary combination of jQuery fixed header on scroll and nav active section class effect.
Made by Summer
February 2, 2015

Demo Image: Auto Hide Sticky Header

Auto Hide Sticky Header

Setting classes on the header with JavaScript.
Made by jasper
January 21, 2015

Demo Image: Sticky Header CSS Transition

Sticky Header CSS Transition

Fun example of a sticky header utilizing some CSS3 transitions!
Made by Brady Sammons
October 23, 2014

Demo Image: Top Sliding Nav

Top Sliding Nav

Hidden nav that slides in from the top once the page is scrolled.
Made by Chris Gruber
October 20, 2014

Demo Image: Responsive Sticky Header Navigation

Responsive Sticky Header Navigation

Cool navigation with HTML, CSS and JS.
Made by MarcLibunao
June 8, 2014

Demo Image: Fixed Header (Quick Hack)

Fixed Header (Quick Hack)

The header is not fixed with a solid background color and there is a fixed div at the top that is small. Then there is a div that is not fixed within the header with the title. Simply wanted to try and prototype the idea. Works in a decent hack-ish sort of way.
Made by Darcy Voutt
March 21, 2014

Demo Image: Sticky Header Visual Trick

Sticky Header Visual Trick

Creates a sticky hacky sticker header using CSS without creating a scroll event handler.
Made by Michael
July 19, 2013

Video Headers

Demo Image: React Video Header

React Video Header

Simple React.js video header.
Made by Mark Sarpong
June 2, 2017

Demo Image: Video Header

Video Header

Video header with HTML, CSS and JavaScript.
Made by Alex
February 6, 2017

Demo Image: Hero Video

Hero Video

A pen that shows how to create a hero with a background video.
Made by Chris Simeone
October 20, 2016

Demo Image: Fullscreen Background Video With Mix-Blend-Mode Overlay Text

Fullscreen Background Video With Mix-Blend-Mode Overlay Text

Shows full-screen video with effective, legible text overlay using mix-blend-mode .
Made by Dudley Storey
September 8, 2016

Demo Image: Video Header Animation

Video Header Animation

Animation 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.
Made by Sylvia Maguia
October 4, 2015

Demo Image: Responsive Video Header

Responsive Video Header

Responsive video header with gradient in HTML and CSS.
Made by Jacob Davidson
May 29, 2015

Источник

Оцените статью