[![Actions Status](](
[![CSSerpent version](](
[![Hex Docs](](

# CSSerpent


CSSerpent parses css strings and returns structured css data.

iex(1)> CSSerpent.parse(".main { max-width: 1000px; }")
    identifier: nil,
    props: [%{property: "max-width", value: "1000px"}],
    raw: ".main { max-width: 1000px; }",
    rules: nil,
    selector: ".main",
    value: nil,
    source: nil

## Installation

The package can be installed by adding `csserpent` to your list of dependencies in `mix.exs`:

def deps do
    {:csserpent, "~> 0.4.0"}