exterminate

master
Matthew Butterick 6 years ago
parent 2803fb87e1
commit 83611db2e2

@ -12,13 +12,13 @@
(string-append out-string line-ending)))
(define (make-css-string p v)
(string-join (list (->string p) (->string v)) ": "))
(format "~a: ~a;" p v))
(define (make-css-strings property-prefixes property-suffix values)
; general function for creating groups of css properties
; with browser prefixes and one value
(define (map-suffix suffix prefixes)
(map (λ(prefix) (string-append prefix suffix)) prefixes))
(map (λ (prefix) (format "~a~a" prefix suffix)) prefixes))
(define properties (map-suffix property-suffix property-prefixes))

Loading…
Cancel
Save