UNPKG

@wix/css-property-parser

Version:

A comprehensive TypeScript library for parsing and serializing CSS property values with full MDN specification compliance

17 lines (16 loc) 595 B
// Border Inline Start Style property parser // Handles parsing of CSS border-inline-start-style property // https://developer.mozilla.org/en-US/docs/Web/CSS/border-inline-start-style import { parseLogicalBorderStyleProperty, logicalBorderStyleToCSSValue } from './shared-logical-border.js'; /** * Parse a CSS border-inline-start-style property string */ export function parse(value) { return parseLogicalBorderStyleProperty(value); } /** * Convert BorderInlineStartStyleValue back to CSS string */ export function toCSSValue(parsed) { return logicalBorderStyleToCSSValue(parsed); }