Skip to content

Commit

Permalink
correct the docs for gradient
Browse files Browse the repository at this point in the history
  • Loading branch information
agneym committed Sep 21, 2019
1 parent 5fe246d commit 9bb33f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ Frontmatter level props on a document always takes precedence over Repository le
Just as in CSS your frontmatter or Repo level prop can contain:

```
background: linear-gradient(to right, #ec008c, #fc6767);
background: 'linear-gradient(to right, #ec008c, #fc6767)'
```

2. **What if I need an image as background?**

Write the CSS for it.

```
background: url(https://example.com/image.png)
background: 'url(https://example.com/image.png)'
```

3. **What about font sizes?**
Expand Down

0 comments on commit 9bb33f4

Please sign in to comment.