Adds reference for CSS Regions.
This commit is contained in:
parent
55d9176b44
commit
a5c8858d27
@ -2,6 +2,6 @@
|
|||||||
%p
|
%p
|
||||||
This is the source material
|
This is the source material
|
||||||
|
|
||||||
.target
|
.new-container
|
||||||
%p
|
%p
|
||||||
This is the target location
|
This is the target location
|
@ -2,16 +2,12 @@
|
|||||||
|
|
||||||
.source
|
.source
|
||||||
+flow-into(target)
|
+flow-into(target)
|
||||||
|
|
||||||
.target
|
|
||||||
+flow-from(source)
|
|
||||||
|
|
||||||
.source
|
|
||||||
border: 10px solid green
|
border: 10px solid green
|
||||||
margin: 20px
|
margin: 20px
|
||||||
width: 200px
|
width: 200px
|
||||||
|
|
||||||
.target
|
.new-container
|
||||||
|
+flow-from(target)
|
||||||
border: 10px solid red
|
border: 10px solid red
|
||||||
margin: 20px
|
margin: 20px
|
||||||
width: 200px
|
width: 200px
|
15
doc-src/content/reference/compass/css3/regions.haml
Normal file
15
doc-src/content/reference/compass/css3/regions.haml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
title: Compass CSS Regions
|
||||||
|
crumb: CSS Regions
|
||||||
|
framework: compass
|
||||||
|
stylesheet: compass/css3/_regions.scss
|
||||||
|
meta_description: Specify CSS Regions for supported browsers.
|
||||||
|
layout: core
|
||||||
|
classnames:
|
||||||
|
- reference
|
||||||
|
- core
|
||||||
|
- css3
|
||||||
|
---
|
||||||
|
- render 'reference' do
|
||||||
|
%p
|
||||||
|
Provides a mixin for the CSS regions, properties which allow you to flow content into new containers. See <a href="http://dev.w3.org/csswg/css3-regions/">the spec draft</a> and <a href="http://labs.adobe.com/technologies/cssregions/">Adobe's page on the topic</a>.
|
Loading…
Reference in New Issue
Block a user