tachyons 0.1.1

Rust port of the Tachyons CSS framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern crate html_index;
extern crate tachyons;

pub fn main() {
  let res = html_index::Builder::new()
    .raw_body(
      r#"<body class="measure white bg-black">
      hello world
    </body>"#,
    )
    .inline_style(tachyons::TACHYONS_DEFAULT)
    .inline_style(tachyons::TACHYONS)
    .build();
  println!("{}", res);
}