Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
using css-paint-es
instance of native api
Using Houdini CSS Paint API with Rough.js
<style>
.card {
--rough-border-width: 3;
--rough-fill: red;
--rough-fill-weight: 9;
--rough-fill-style: zigzag;
}
input {
--rough-border-width: 3;
--rough-fill: white;
--rough-fill-style: solid;
}
</style>
<div class="card">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit...</p>
<input type="text" placeholder="Enter some text">
</div>
import 'css-rough'
Following properties corresponding to rough.js options can be set using CSS:
--rough-fill
- color to fill the element background with.
--rough-fill-style
- Fill style. Default is hachure. Other values can be solid, zigzag, cross-hatch, dots. See rough.js fill style.
--rough-roughness
- Numeric value defining how rough the shape is. (more)
--rough-hachure-gap
- Numeric gap between hachure lines (more)
--rough-hachure-angle
- Numeric angle in degrees of hachure lines (more)
--rough-fill-weight
- Numeric value indicating the width of fill lines (more)
--rough-border-width
- Draw a rough border with the specified numeric width.
--rough-border-color
- Color of the rough border.
FAQs
using `css-paint-es` instance of native api
The npm package css-rough receives a total of 2 weekly downloads. As such, css-rough popularity was classified as not popular.
We found that css-rough 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.