
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
float-block
Advanced tools
It makes block stick to top of the page.
To use it, block must corresponds CSS rules:
position: static;margin: 0;display: block;width: auto;float: none;Options list:
| Name | Description | Type | Default Value |
|---|---|---|---|
| classActive | Indicates class name that is added to block when it become active (this class name stays on sticky block even it reach bottom edge of the container). | string | undefined |
| classSticky | Indicates class name that is added to block when it sticks (this class name stays on sticky block only when it become sticky). | string | undefined |
| relative | Indicates class name of parent block. By default block sticks to viewport top and bottom edges. | string | undefined |
| top | Indicates distance between viewport top edge and block top edge. | number | 0 |
| bottom | Indicates distance between viewport bottom edge and block bottom edge. | number | 0 |
| indent | Indicates distance between block bottom edge and parent block bottom edge. | number | 0 |
All modern browsers and IE9+
Demo1 - without any parameters.
Demo2 - classActive parameter is setted.
Demo3 - top parameter is setted.
Demo4 - relative parameter is setted.
Demo5 - bottom parameter is setted.
Demo6 - classSticky parameter is setted.
FAQs
It makes block stick to top of the page.
The npm package float-block receives a total of 17 weekly downloads. As such, float-block popularity was classified as not popular.
We found that float-block 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.