Update heroku
This commit is contained in:
parent
105cb24e78
commit
22cc927a85
|
@ -25,8 +25,8 @@ category: CSS
|
||||||
display: flex;
|
display: flex;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
|
||||||
flex-direction: row; /* ltr - default */
|
flex-direction: row; /* ltr - default */
|
||||||
flex-direction: row-reverse; /* rtl */
|
flex-direction: row-reverse; /* rtl */
|
||||||
flex-direction: column; /* top-bottom */
|
flex-direction: column; /* top-bottom */
|
||||||
flex-direction: column-reverse; /* bottom-top */
|
flex-direction: column-reverse; /* bottom-top */
|
||||||
|
|
||||||
|
@ -47,6 +47,9 @@ category: CSS
|
||||||
flex: 1 0 0;
|
flex: 1 0 0;
|
||||||
order: 1;
|
order: 1;
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
|
|
||||||
|
align-self: flex-start; /* left */
|
||||||
|
margin-left: auto; /* right */
|
||||||
}
|
}
|
||||||
|
|
||||||
## Tricks
|
## Tricks
|
||||||
|
@ -63,6 +66,14 @@ category: CSS
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
### Vertical center (2)
|
||||||
|
|
||||||
|
.container {
|
||||||
|
display: flex;
|
||||||
|
align-items: center; /* vertical */
|
||||||
|
justify-content: center; /* horizontal */
|
||||||
|
}
|
||||||
|
|
||||||
### Reordering
|
### Reordering
|
||||||
|
|
||||||
.container > .top {
|
.container > .top {
|
||||||
|
@ -113,6 +124,11 @@ Vertically-center all items.
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
### Left and right
|
||||||
|
|
||||||
|
.menu > .left { align-self: flex-start; }
|
||||||
|
.menu > .right { align-self: flex-end; }
|
||||||
|
|
||||||
### References
|
### References
|
||||||
|
|
||||||
* [MDN: Using CSS flexbox](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes)
|
* [MDN: Using CSS flexbox](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes)
|
||||||
|
|
|
@ -7,12 +7,12 @@ category: Devops
|
||||||
|
|
||||||
heroku create sushi
|
heroku create sushi
|
||||||
|
|
||||||
### `sharing` - Collaboration
|
### `access` - Collaboration
|
||||||
|
|
||||||
# Manage collaborators
|
# Manage collaborators
|
||||||
heroku sharing # List
|
heroku access # List
|
||||||
heroku sharing:add me@xy.com
|
heroku access:add me@xy.com
|
||||||
heroku sharing:remove me@xy.com
|
heroku access:remove me@xy.com
|
||||||
|
|
||||||
# Transfer to another owner
|
# Transfer to another owner
|
||||||
heroku sharing:transfer new@owner.com
|
heroku sharing:transfer new@owner.com
|
||||||
|
|
|
@ -20,6 +20,7 @@ category: Ruby
|
||||||
|
|
||||||
### Specs (.must/.wont)
|
### Specs (.must/.wont)
|
||||||
|
|
||||||
|
expect(x)
|
||||||
.must_be :==, 0
|
.must_be :==, 0
|
||||||
.must_equal b
|
.must_equal b
|
||||||
.must_be_close_to 2.99999
|
.must_be_close_to 2.99999
|
||||||
|
|
7
sass.md
7
sass.md
|
@ -190,9 +190,12 @@ $i: 6;
|
||||||
## Interpolation
|
## Interpolation
|
||||||
|
|
||||||
```scss
|
```scss
|
||||||
$klass: 'button';
|
.#{$klass} { ... } /* Class */
|
||||||
|
call($function-name) /* Functions */
|
||||||
|
|
||||||
.#{$klass} { ... } /* same as `.button` */
|
@media #{$tablet}
|
||||||
|
font: #{$size}/#{$line-height}
|
||||||
|
url("#{$background}.jpg")
|
||||||
```
|
```
|
||||||
|
|
||||||
## Lists
|
## Lists
|
||||||
|
|
Loading…
Reference in New Issue