From b903b30d81eb531eead430db3c9cc934ab5dea8f Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Mon, 4 Jun 2018 21:12:57 +0800 Subject: Update old docs to new Pug templates --- docs/src/contents/comparison.pug | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 docs/src/contents/comparison.pug (limited to 'docs/src/contents/comparison.pug') diff --git a/docs/src/contents/comparison.pug b/docs/src/contents/comparison.pug new file mode 100644 index 0000000..5f6ce38 --- /dev/null +++ b/docs/src/contents/comparison.pug @@ -0,0 +1,29 @@ +p + | Comparison Sliders are sliders for comparing two images. It is built in pure CSS. + +.columns + .column.col-12 + .comparison-slider + figure.comparison-before + img.rounded(src="img/macos-sierra-2.jpg" alt="macOS Sierra Wallpaper") + .comparison-label Before + figure.comparison-after + img.filter-grayscale.rounded(src="img/macos-sierra-2.jpg" alt="macOS Sierra Wallpaper") + .comparison-label After + textarea.comparison-resizer(readonly="") + +pre.code(data-lang='HTML') + code + :highlight(lang="html") +
+
+ +
Before
+
+ +
+ +
After
+ +
+
\ No newline at end of file -- cgit v1.3.1-26-gb76a