diff --git a/snippets/checkerboard-pattern.md b/snippets/checkerboard-pattern.md index 1011d1012..1a8cc9d70 100644 --- a/snippets/checkerboard-pattern.md +++ b/snippets/checkerboard-pattern.md @@ -2,13 +2,13 @@ title: Checkerboard background pattern tags: visual,intermediate firstSeen: 2021-01-11T09:51:43+02:00 -lastUpdated: 2021-01-11T09:51:43+02:00 +lastUpdated: 2021-10-13T19:29:39+02:00 --- Creates a checkerboard background pattern. - Use `background-color` to set a white background. -- Use `background-image` with two `linear-gradient()` values, each one with a different angle to create the checkerboard pattern. +- Use `background-image` with two `linear-gradient()` values. Give each one a different angle to create the checkerboard pattern. - Use `background-size` to specify the pattern's size. - **Note:** The fixed `height` and `width` of the element is for demonstration purposes only. diff --git a/snippets/donut-spinner.md b/snippets/donut-spinner.md index 710047b3f..64b18400e 100644 --- a/snippets/donut-spinner.md +++ b/snippets/donut-spinner.md @@ -2,12 +2,12 @@ title: Donut spinner tags: animation,intermediate firstSeen: 2018-02-27T17:32:35+02:00 -lastUpdated: 2020-12-30T15:37:37+02:00 +lastUpdated: 2021-10-13T19:29:39+02:00 --- Creates a donut spinner that can be used to indicate the loading of content. -- Use a semi-transparent `border` for the whole element, except one side that will serve as the loading indicator for the donut. +- Use a semi-transparent `border` for the whole element. Exclude one side that will serve as the loading indicator for the donut. - Define and use an appropriate animation, using `transform: rotate()` to rotate the element. ```html diff --git a/snippets/evenly-distributed-children.md b/snippets/evenly-distributed-children.md index f282eb405..197c49174 100644 --- a/snippets/evenly-distributed-children.md +++ b/snippets/evenly-distributed-children.md @@ -2,14 +2,14 @@ title: Evenly distributed children tags: layout,intermediate firstSeen: 2018-02-28T13:47:02+02:00 -lastUpdated: 2020-12-30T15:37:37+02:00 +lastUpdated: 2021-10-13T19:29:39+02:00 --- Evenly distributes child elements within a parent element. - Use `display: flex` to use the flexbox layout. - Use `justify-content: space-between` to evenly distributes child elements horizontally. The first item is positioned at the left edge, while the last item is positioned at the right edge. -- Alternatively, you can use `justify-content: space-around` to distribute the children with space around them, rather than between them. +- Alternatively, use `justify-content: space-around` to distribute the children with space around them, instead of between them. ```html