Giter VIP home page Giter VIP logo

headers-css's Introduction

Introducing Headers.css

I got the idea of designing and implementing a blueprint website header components. The reason is that I can pick one and use it for a new project pretty quickly. I made 17 headers so far and aiming for more in the coming weeks. You can check them out here.

Read about building headers with flexbox on my blog.

While working on them, I tried to focus on the following:

  • Simplicity
  • Fully responsive design
  • Used Sass so they can be easily edited (Still need to do some refactoring here and there)
  • Accessibility (Please open an issue if you spot something incorrectly)

How To Use

I didn't build this project with a "smart" way to get the files. For now, you can get the HTML, Sass, and Javascript related for the header you want to check. I will try to enhance this.

Todo

  • Think about a build process
  • RTL Styling

Contributions

Oh, that would be great and very nice of you. Please submit an issue to discuss or simply add a PR.

Issues

Spotted a bug or something weird? Please open an issue. Thank you!

headers-css's People

Contributors

shadeed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

headers-css's Issues

Redundant display of menu

Hello Shadeed.
I am new to github so kindly excuse if I raise the issue in anomalous format.
While exploring "Header 12" file I notices the there is a menu button as well as the list is displayed in the "sub_nav" class.

This is persistent even when the window is resized.

image

image

Thank you.

Navigation with Centered Logo

Hi shadeed, thank you for your afford providing this excellent components!
I want to suggest adding another style: the navigation with the centered logo. For me then would be everything covered.
I am a bit new to github so here is the code:

html (pastebin, because github breaks html here)

https://pastebin.com/raw/g4U4EGex

css

.container {
display: -webkit-box;
display: flex;
justify-content: space-around;
-webkit-box-align: center;
align-items: center;
background: #111;
margin: 25px 0;
box-shadow: 0 5px 15px -10px #111;
}

.logo {
-webkit-box-ordinal-group: 2;
order: 1;
border-radius: 100%;
background: #4382d6;
box-shadow: 0 0 0 3px #fff, 0 0 0 15px #111;
font-size: 24px;
color: #fff;
line-height: 32px;
padding: 10px;
}

.item {
color: rgba(255, 255, 255, 0.88);
text-decoration: none;
font-family: sans-serif;
padding: 24px;
}
.item:hover{
color: #fff;
background: rgba(255, 255, 255, 0.15);
}

.item:nth-of-type(n+4) {
-webkit-box-ordinal-group: 3;
order: 2;
}

@media all and (max-width: 800px) {
.container {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
flex-direction: column;
-webkit-box-align: stretch;
align-items: stretch;
}

.logo {
-webkit-box-ordinal-group: 1;
order: 0;
text-align: center;
width: 100px;
margin: auto auto 20px;
}

.item {
text-align: center;
border-bottom: 1px solid #111;
}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.