Update heroku

This commit is contained in:
Rico Sta. Cruz 2016-03-28 14:56:43 +08:00
parent 105cb24e78
commit 22cc927a85
4 changed files with 28 additions and 8 deletions

View File

@ -25,8 +25,8 @@ category: CSS
display: flex;
display: inline-flex;
flex-direction: row; /* ltr - default */
flex-direction: row-reverse; /* rtl */
flex-direction: row; /* ltr - default */
flex-direction: row-reverse; /* rtl */
flex-direction: column; /* top-bottom */
flex-direction: column-reverse; /* bottom-top */
@ -47,6 +47,9 @@ category: CSS
flex: 1 0 0;
order: 1;
flex-grow: 0;
align-self: flex-start; /* left */
margin-left: auto; /* right */
}
## Tricks
@ -63,6 +66,14 @@ category: CSS
margin: auto;
}
### Vertical center (2)
.container {
display: flex;
align-items: center; /* vertical */
justify-content: center; /* horizontal */
}
### Reordering
.container > .top {
@ -113,6 +124,11 @@ Vertically-center all items.
align-items: center;
}
### Left and right
.menu > .left { align-self: flex-start; }
.menu > .right { align-self: flex-end; }
### References
* [MDN: Using CSS flexbox](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes)

View File

@ -7,12 +7,12 @@ category: Devops
heroku create sushi
### `sharing` - Collaboration
### `access` - Collaboration
# Manage collaborators
heroku sharing # List
heroku sharing:add me@xy.com
heroku sharing:remove me@xy.com
heroku access # List
heroku access:add me@xy.com
heroku access:remove me@xy.com
# Transfer to another owner
heroku sharing:transfer new@owner.com

View File

@ -20,6 +20,7 @@ category: Ruby
### Specs (.must/.wont)
expect(x)
.must_be :==, 0
.must_equal b
.must_be_close_to 2.99999

View File

@ -190,9 +190,12 @@ $i: 6;
## Interpolation
```scss
$klass: 'button';
.#{$klass} { ... } /* Class */
call($function-name) /* Functions */
.#{$klass} { ... } /* same as `.button` */
@media #{$tablet}
font: #{$size}/#{$line-height}
url("#{$background}.jpg")
```
## Lists