Thursday, May 01, 2014

WDC 1.4 css variables

css variables foundamentally simple

* preprocessors

* flexbox
fluid, complex layout , great for responsibility design

* calc()
for calculatoon

* variables ?


--
SASS - like less
--
e.g bootstrap
variables files 850 lines


-- organization
modularity

current color
border : solid currentcolor
use cascading with css from parent

--
 demo

:root{
--color: green
}


--
u can change the variable through javascript selector

--
blink-dev google group

--
rework css preprocessor

or css variables polyfil

--

No comments: