New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@microflash/preset

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microflash/preset

A modern CSS preset

0.6.0
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

@microflash/preset

npm license

A modern CSS preset

What's this?

@microflash/preset is a CSS reset to baseline the browser styles to give you a uniform foundation for building your custom styles on top of it.

Install

In Node.js, install with npm:

npm install @microflash/preset

In Deno, with esm.sh:

import preset from "https://esm.sh/@microflash/preset"

In browsers, with esm.sh, unpkg.com or jsdelivr.net:

<link rel="stylesheet" href="https://esm.sh/@microflash/preset">
<link rel="stylesheet" href="https://unpkg.com/@microflash/preset">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@microflash/preset">

Use

In Node.js or Deno, importing the CSS in the entrypoint file of your application should include the @microflash/preset in the final CSS bundle. Make sure that this is the first CSS import before including any other CSS files.

If you're using Sass, use https://esm.sh/@microflash/preset/scss in the main Sass file before any other rules.

In browser, including the <link> before any other stylesheet should do the trick.

Credits

License

MIT

Keywords

css

FAQs

Package last updated on 19 Mar 2023

Did you know?

Socket

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.

Install

Related posts