Align a element base on multiples values, like a, top
, bottom
, middle
, right
, left
and center
.
<div class="recipes clearfix" align="middle center" align-watch="recipes">
...
</div>
<div class="recipes clearfix" align="top center" align-watch="recipes">
...
</div>
align
attribute deifne the rules to aline the element
align-watch
attibute define a variable to watch to run the directive again, when that value has changed