cascading-0.1.0: DSL for HTML CSS (Cascading Style Sheets)

MaintainerErtugrul Soeylemez <es@ertes.de>
Safe HaskellNone

Data.CSS.Properties.Compat

Contents

Description

 

Synopsis

Vendor prefixes

vendors :: MonadWriter CSS m => m a -> m aSource

Adds vendor-prefixed properties for all properties in the given style sheet. The following vendors are currently added:

  • Microsoft (-ms-),
  • Mozilla (-moz-),
  • Opera (-o-),
  • WebKit (-webkit-).

This combinator keeps the original (non-prefixed) property and does not prefix properties that already have a vendor prefix.