Cleanup: remove extra spaces before {:...} tags
This commit is contained in:
parent
58d1602609
commit
fcc6196aa4
13
css.md
13
css.md
|
@ -13,7 +13,6 @@ keywords:
|
|||
---
|
||||
|
||||
## Basics
|
||||
|
||||
{: .-three-column}
|
||||
|
||||
### Selectors
|
||||
|
@ -23,7 +22,6 @@ keywords:
|
|||
font-weight: bold;
|
||||
}
|
||||
```
|
||||
|
||||
{: .-setup}
|
||||
|
||||
| Selector | Description |
|
||||
|
@ -92,11 +90,9 @@ keywords:
|
|||
| `:last-child` |
|
||||
| `:nth-child(2)` |
|
||||
| `:only-child` |
|
||||
|
||||
{: .-left-align}
|
||||
|
||||
## Fonts
|
||||
|
||||
{: .-left-reference}
|
||||
|
||||
### Properties
|
||||
|
@ -114,18 +110,15 @@ keywords:
|
|||
| --- | --- |
|
||||
| `text-align:` | `left` `right` `center` `justify` |
|
||||
| `text-transform:` | `capitalize` `uppercase` `lowercase` |
|
||||
|
||||
{: .-key-values}
|
||||
|
||||
### Shorthand
|
||||
|
||||
{: .-prime}
|
||||
|
||||
| | style | weight | size (required) | | line-height | family |
|
||||
| ------- | -------- | ------ | --------------- | --- | ----------- | ----------------- |
|
||||
| `font:` | `italic` | `400` | `14px` | `/` | `1.5` | `sans-serif` |
|
||||
| | style | weight | size (required) | | line-height | family (required) |
|
||||
|
||||
{: .-css-breakdown}
|
||||
|
||||
### Example
|
||||
|
@ -147,7 +140,6 @@ text-transform: lowercase; /* hello */
|
|||
```
|
||||
|
||||
## Background
|
||||
|
||||
{: .-left-reference}
|
||||
|
||||
### Properties
|
||||
|
@ -163,7 +155,6 @@ text-transform: lowercase; /* hello */
|
|||
| `background-clip:` | `border-box` `padding-box` `content-box` |
|
||||
| `background-repeat:` | `no-repeat` `repeat-x` `repeat-y` |
|
||||
| `background-attachment:` | `scroll` `fixed` `local` |
|
||||
|
||||
{: .-key-values}
|
||||
|
||||
### Shorthand
|
||||
|
@ -173,7 +164,6 @@ text-transform: lowercase; /* hello */
|
|||
| `background:` | `#ff0` | `url(bg.jpg)` | `left` | `top` | `/` | `100px` `auto` | `no-repeat` | `fixed;` |
|
||||
| `background:` | `#abc` | `url(bg.png)` | `center` | `center` | `/` | `cover` | `repeat-x` | `local;` |
|
||||
| | color | image | positionX | positionY | | size | repeat | attachment |
|
||||
|
||||
{: .-css-breakdown}
|
||||
|
||||
### Multiple backgrounds
|
||||
|
@ -184,7 +174,6 @@ background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
|
|||
```
|
||||
|
||||
## Animation
|
||||
|
||||
{: .-left-reference}
|
||||
|
||||
### Properties
|
||||
|
@ -200,7 +189,6 @@ background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
|
|||
| `animation-direction:` | `normal` `reverse` `alternate` `alternate-reverse` |
|
||||
| `animation-fill-mode:` | `none` `forwards` `backwards` `both` `initial` `inherit` |
|
||||
| `animation-play-state:` | `normal` `reverse` `alternate` `alternate-reverse` |
|
||||
|
||||
{: .-key-values}
|
||||
|
||||
### Shorthand
|
||||
|
@ -209,7 +197,6 @@ background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
|
|||
| ------------ | -------- | -------- | --------------- | ------- | ---------- | ------------------- | --------- | ---------- |
|
||||
| `animation:` | `bounce` | `300ms` | `linear` | `100ms` | `infinite` | `alternate-reverse` | `both` | `reverse` |
|
||||
| | name | duration | timing-function | delay | count | direction | fill-mode | play-state |
|
||||
|
||||
{: .-css-breakdown}
|
||||
|
||||
### Example
|
||||
|
|
1
es6.md
1
es6.md
|
@ -489,7 +489,6 @@ Object.values(fatherJS)
|
|||
Object.entries(fatherJS)
|
||||
// [["age", 57], ["name", "Brendan Eich"]]
|
||||
```
|
||||
|
||||
{: data-line="3,5"}
|
||||
|
||||
|
||||
|
|
1
go.md
1
go.md
|
@ -461,7 +461,6 @@ func main() {
|
|||
fmt.Println("Working...")
|
||||
}
|
||||
```
|
||||
|
||||
{: data-line="2,3,4"}
|
||||
|
||||
Lambdas are better suited for defer blocks.
|
||||
|
|
|
@ -14,7 +14,6 @@ intro: |
|
|||
```html
|
||||
<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
|
||||
```
|
||||
|
||||
{: .-wrap}
|
||||
|
||||
This is the default script for Polyfill.io.
|
||||
|
|
2
react.md
2
react.md
|
@ -155,7 +155,6 @@ class Info extends Component {
|
|||
}
|
||||
```
|
||||
|
||||
|
||||
{: data-line="5,6,7,8,9,10"}
|
||||
|
||||
Nest components to separate concerns.
|
||||
|
@ -220,7 +219,6 @@ class Hello extends Component {
|
|||
}
|
||||
}
|
||||
```
|
||||
|
||||
{: data-line="2"}
|
||||
|
||||
See: [Setting the default state](https://reactjs.org/docs/react-without-es6.html#setting-the-initial-state)
|
||||
|
|
Loading…
Reference in New Issue