Skip to main content
Go to Latest
class default
extends Value
import { default } from "https://deno.land/x/postcss_autoprefixer@0.2.4/lib/hacks/gradient.js";

Methods

add(decl, prefix)

Do not add non-webkit prefixes for list-style and object

cloneDiv(params)

Get div token from exists parameters

colorStops(params)

Change colors syntax to old webkit

Change new direction to old

fixAngle(params)

Add 90 degrees

fixDirection(params)

Replace to top left to bottom right

fixRadial(params)

Fix radial direction syntax

isRadial(params)

Look for at word

newDirection(params)

Replace old direction to new

normalize(nodes)

Normalize angle

normalizeUnit(str, full)

Convert angle unit to deg

old(prefix)

Remove old WebKit gradient too

oldDirection(params)

Change direction syntax to old webkit

oldWebkit(node)

Convert to old webkit syntax

replace(string, prefix)

Change degrees for webkit prefix

replaceFirst(params, ...words)

Replace first token

roundFloat(float, digits)

Round float and save digits under dot