Adds examples for css regions.

This commit is contained in:
Rachel Nabors 2012-04-30 23:22:19 -04:00
parent 451046848c
commit 23e1155ad6
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,8 @@
---
title: CSS Regions
description: css3 mixin for css regions
framework: compass
stylesheet: compass/css3/_regions.scss
example: true
---
= render "partials/example"

View File

@ -0,0 +1,7 @@
.source
%p
This is the source material
.target
%p
This is the target location

View File

@ -0,0 +1,17 @@
@import compass/css3
.source
+flow-into(target)
.target
+flow-from(source)
.source
border: 10px solid green
margin: 20px
width: 200px
.target
border: 10px solid red
margin: 20px
width: 200px