
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@citizensadvice/background-size
Advanced tools
Defines the size of the background image.
.bg-cover { background-size: cover }
.bg-contain { background-size: contain }
To apply specific classes at set screen widths, use the following classes:
| Class name | Description |
|---|---|
[aboveClassName]-ns | Screens with a min-width of 48rem |
[aboveClassName]-m | Screens with widths from 48rem to 64rem |
[aboveClassName]-l | Screens with a min-width of 64rem |
<div class="bg-contain bg-cover-ns">...</div>
$ npm install @citizensadvice/background-size
now import into your stylesheet...
@import '@citizensadvice/background-size/index.scss';
You can also make use of the unpkg service, try adding the link below to the head of your HTML file
<link src="https://unpkg.com/@citizensadvice/background-size@latest/build/background-size.css" />
FAQs
Defines the size of the background image.
We found that @citizensadvice/background-size demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.