Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
responsive-webpage-header
Advanced tools
Readme
A simple responsive webpage header template.
npm install responsive-webpage-header
Use header.css file from dist folder or import header.scss into your .scss file. There's a few lines of JavaScript code that you need to include as well.
You can change SASS variables to adapt header to your needs.
<header class="main-header">
<!-- Logo -->
<div class="logo">
<!--<h1><a href="#">ResponsiveHeader</a></h1>-->
<div><a href="#"><img src="/images/logo.svg" alt="ResponsiveHeader"></a></div>
</div>
<!-- Navigation -->
<nav class="navigation">
<span class="btn-menu">Menu</span>
<ol class="nav-links">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Our work</a></li>
<li><a href="#">Contact</a></li>
</ol>
</nav>
</header>
You can fix a header to the top of the page. All you have to do is to add class fixed
to header element. Header will shrink after you scroll 50px from the top.
<header class="main-header fixed">
...
</header>
If you need to put logo and navigation inside some kind of a container – just do it.
<header class="main-header fixed">
<div class="your-container">
<div class="logo"> ... </div>
<div class="navigation"> ... </div>
</div>
</header>
Yes please!
Licensed under MIT/GPL.
GPL2 license: http://www.gnu.org/licenses/gpl-2.0.html
MIT license: http://www.opensource.org/licenses/mit-license.php
FAQs
A simple responsive webpage header template.
The npm package responsive-webpage-header receives a total of 0 weekly downloads. As such, responsive-webpage-header popularity was classified as not popular.
We found that responsive-webpage-header demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.