CSS Preprocessing: Tools and Automation Techniques

Cascading Style Sheets (CSS) is a W3C specification for a style sheet language used for describing the presentation of a document written in a markup language, more precisely, for styling Web documents. However, in the last few years, the landscape for CSS development has changed dramatically with t...

Full description

Bibliographic Details
Main Author: Ricardo Queirós
Format: Article
Language:English
Published: MDPI AG 2018-01-01
Series:Information
Subjects:
CSS
Online Access:http://www.mdpi.com/2078-2489/9/1/17
id doaj-51ed087266814a4c8b7e3f911b76ed95
record_format Article
spelling doaj-51ed087266814a4c8b7e3f911b76ed952020-11-24T20:59:58ZengMDPI AGInformation2078-24892018-01-01911710.3390/info9010017info9010017CSS Preprocessing: Tools and Automation TechniquesRicardo Queirós0CRACS/INESC TEC and School of Media Arts and Design, Polytechnic of Porto, Rua D. Sancho I, n.° 981, 4480-876 Vila do Conde, PortugalCascading Style Sheets (CSS) is a W3C specification for a style sheet language used for describing the presentation of a document written in a markup language, more precisely, for styling Web documents. However, in the last few years, the landscape for CSS development has changed dramatically with the appearance of several languages and tools aiming to help developers build clean, modular and performance-aware CSS. These new approaches give developers mechanisms to preprocess CSS rules through the use of programming constructs, defined as CSS preprocessors, with the ultimate goal to bring those missing constructs to the CSS realm and to foster stylesheets structured programming. At the same time, a new set of tools appeared, defined as postprocessors, for extension and automation purposes covering a broad set of features ranging from identifying unused and duplicate code to applying vendor prefixes. With all these tools and techniques in hands, developers need to provide a consistent workflow to foster CSS modular coding. This paper aims to present an introductory survey on the CSS processors. The survey gathers information on a specific set of processors, categorizes them and compares their features regarding a set of predefined criteria such as: maturity, coverage and performance. Finally, we propose a basic set of best practices in order to setup a simple and pragmatic styling code workflow.http://www.mdpi.com/2078-2489/9/1/17CSSpreprocessorspostprocessorsCSS workflowweb formatting
collection DOAJ
language English
format Article
sources DOAJ
author Ricardo Queirós
spellingShingle Ricardo Queirós
CSS Preprocessing: Tools and Automation Techniques
Information
CSS
preprocessors
postprocessors
CSS workflow
web formatting
author_facet Ricardo Queirós
author_sort Ricardo Queirós
title CSS Preprocessing: Tools and Automation Techniques
title_short CSS Preprocessing: Tools and Automation Techniques
title_full CSS Preprocessing: Tools and Automation Techniques
title_fullStr CSS Preprocessing: Tools and Automation Techniques
title_full_unstemmed CSS Preprocessing: Tools and Automation Techniques
title_sort css preprocessing: tools and automation techniques
publisher MDPI AG
series Information
issn 2078-2489
publishDate 2018-01-01
description Cascading Style Sheets (CSS) is a W3C specification for a style sheet language used for describing the presentation of a document written in a markup language, more precisely, for styling Web documents. However, in the last few years, the landscape for CSS development has changed dramatically with the appearance of several languages and tools aiming to help developers build clean, modular and performance-aware CSS. These new approaches give developers mechanisms to preprocess CSS rules through the use of programming constructs, defined as CSS preprocessors, with the ultimate goal to bring those missing constructs to the CSS realm and to foster stylesheets structured programming. At the same time, a new set of tools appeared, defined as postprocessors, for extension and automation purposes covering a broad set of features ranging from identifying unused and duplicate code to applying vendor prefixes. With all these tools and techniques in hands, developers need to provide a consistent workflow to foster CSS modular coding. This paper aims to present an introductory survey on the CSS processors. The survey gathers information on a specific set of processors, categorizes them and compares their features regarding a set of predefined criteria such as: maturity, coverage and performance. Finally, we propose a basic set of best practices in order to setup a simple and pragmatic styling code workflow.
topic CSS
preprocessors
postprocessors
CSS workflow
web formatting
url http://www.mdpi.com/2078-2489/9/1/17
work_keys_str_mv AT ricardoqueiros csspreprocessingtoolsandautomationtechniques
_version_ 1716780764526280704