compass/doc-src/layouts/partials/example.haml
2010-02-07 13:58:52 -08:00

22 lines
430 B
Plaintext

%h1= @item[:title]
%table#example{:cellspacing=>"0", :cellpadding=>"0", :border=>"0"}
%tr.source
%th HTML
%th Sass
%tr.source
%td.markup
%pre
%code.html= h(example_html)
%td.stylesheet
%pre
%code.sass= h(example_sass)
%tr.output
%th Display
%th Generated CSS
%tr.output
%td.markup
= example_html
%td.stylesheet
%pre
%code.css= h(example_css)