New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

preset-style

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

preset-style

Preset web application styles.

latest
Source
npmnpm
Version
2.0.6
Version published
Maintainers
1
Created
Source

preset-style

npm version npm version npm bundle size gitHub-last-commit license

Preset web application styles.

Installation

Using npm:

npm install preset-style --save

Using yarn:

yarn add preset-style

Features

Reset browser styles:

  • Reset Elements padding and margin
  • Remove inputs element outline and border
  • Remove tag a link element default color and decoration style
  • Replace autofill input shadow styles
  • Remove tag img border

Common style snippets:

  • Clear floor .clear-fix
  • Overflow ellipsis .overflow-ellipsis
  • iOS X safe container .safe-area
  • Mobile phone balance scroll container .scroller

Some compatibility snippets:

  • Adapter style for MAC OS dark theme

Example Usage

Using in css, less and sass:

@import('preset-style/dist/index.css');

Using in js:

import 'preset-style/dist/index.css'

Keywords

preset

FAQs

Package last updated on 19 Apr 2020

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