
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
lowcss-helpers
Advanced tools
A collection of essential CSS helper utilities for layout, positioning, and common UI patterns. This module provides utility classes that complement LowCSS or work as standalone helpers in any project.
You can install lowcss-helpers via npm or yarn:
# using npm
$ npm install lowcss-helpers
# using yarn
$ yarn add lowcss-helpers
Import the helpers in your project using either CSS imports or by linking the CSS file directly in your HTML:
@import "lowcss-helpers";
<!-- Or reference it in your HTML -->
<link rel="stylesheet" href="node_modules/lowcss-helpers/index.css">
Creates a horizontal flex container with centered items:
<div class="hstack">
<span>Item 1</span>
<span>Item 2</span>
<span>Item 3</span>
</div>
Creates a vertical flex container:
<div class="vstack">
<div>Section 1</div>
<div>Section 2</div>
<div>Section 3</div>
</div>
Adds a vertical divider between elements:
<div class="hstack">
<span>Home</span>
<span class="vr"></span>
<span>About</span>
<span class="vr"></span>
<span>Contact</span>
</div>
Position elements fixed to the viewport:
<!-- Fixed to top -->
<header class="fixed-top">Top Navigation</header>
<!-- Fixed to bottom -->
<footer class="fixed-bottom">Bottom Bar</footer>
Make elements stick when scrolling:
<!-- Sticky to top -->
<nav class="sticky-top">Sticky Navigation</nav>
<!-- Sticky to bottom -->
<div class="sticky-bottom">Sticky Footer</div>
Truncate overflowing text with ellipsis:
<div class="truncate" style="width: 200px;">
This is a very long text that will be truncated with ellipsis
</div>
Clear floated elements:
<div class="clearfix">
<div class="float-left">Floated content</div>
<!-- Clearfix ensures parent contains floated children -->
</div>
Additional font family utilities for common web fonts:
<h1 class="font-inter">Heading with Inter font</h1>
<p class="font-lato">Paragraph with Lato font</p>
<h2 class="font-poppins">Heading with Poppins font</h2>
<blockquote class="font-crimson">Quote with Crimson Pro font</blockquote>
<span class="font-nunito">Text with Nunito font</span>
Customize the appearance by overriding CSS variables:
:root {
/* Vertical rule customization */
--helpers-vr-opacity: 0.5; /* Default: 0.25 */
--helpers-vr-width: 2px; /* Default: 1px */
}
<nav class="hstack fixed-top bg-white p-3 shadow">
<a href="#" class="font-poppins font-weight-bold">Logo</a>
<span class="vr mx-3"></span>
<a href="#">Home</a>
<span class="vr mx-2"></span>
<a href="#">About</a>
<span class="vr mx-2"></span>
<a href="#">Contact</a>
</nav>
<div class="card">
<div class="vstack p-4">
<h3 class="font-inter">Card Title</h3>
<p class="truncate">This description will be truncated if too long...</p>
<div class="hstack mt-auto">
<button class="btn btn-primary">Action</button>
<span class="vr mx-2"></span>
<button class="btn btn-secondary">Cancel</button>
</div>
</div>
</div>
<div class="relative">
<div class="sticky-top">
Sticky content
</div>
<main class="col-md-9">
<!-- Main content -->
</main>
</div>
When using with LowCSS, combine helper classes with utility classes:
<div class="hstack bg-gray-100 p-4 rounded">
<img src="avatar.jpg" class="w-12 h-12 rounded-full">
<span class="vr mx-3"></span>
<div class="vstack">
<h4 class="font-inter text-lg font-semibold">John Doe</h4>
<p class="text-gray-600 truncate">Software Developer at Company</p>
</div>
</div>
This package is licensed under the MIT License.
FAQs
A collection of essential CSS helpers to complement LowCSS.
The npm package lowcss-helpers receives a total of 15 weekly downloads. As such, lowcss-helpers popularity was classified as not popular.
We found that lowcss-helpers demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.