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

@curiousmedia/capline

Package Overview
Dependencies
Maintainers
5
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@curiousmedia/capline

Mixin for consistent spacing above and below paragraphs.

latest
npmnpm
Version
0.0.1
Version published
Maintainers
5
Created
Source

Capline

Mixin for consistent spacing above and below paragraphs.

Configuration

The unwanted space above and below a paragraph must be configured per font. Unfortunately, configuration requires some trial and error. Configuration is best done at a large fonts size such as 144px.

$capline-fonts: (
  times: (
    unquote('"Times New Roman", sans-serif')
    -0.37em // Spacing to remove at top of paragraph
    -0.35em // Spacing to remove at bottom of paragraph
    1.4 // Default line height
  )
);

Usage

h1 {
  @include capline(
    'times', // Font preset
    5px, // Margin above
    5px, // Margin below
    1.8 // Line-height
  );
}

FAQs

Package last updated on 17 Jul 2019

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