From e31747599b74a7fa2e1eb5d4a17f81d0953030ea Mon Sep 17 00:00:00 2001 From: Chalarangelo Date: Wed, 13 Oct 2021 21:18:48 +0300 Subject: [PATCH] Update snippet explanations --- snippets/checkerboard-pattern.md | 4 ++-- snippets/donut-spinner.md | 4 ++-- snippets/evenly-distributed-children.md | 4 ++-- snippets/fullscreen.md | 5 +---- snippets/input-with-prefix.md | 4 ++-- snippets/masonry-layout.md | 6 +++--- snippets/overflow-scroll-gradient.md | 4 ++-- snippets/polka-dot-pattern.md | 4 ++-- snippets/pretty-text-underline.md | 6 +++--- snippets/pulse-loader.md | 4 ++-- snippets/scroll-progress-bar.md | 4 ++-- snippets/text-backdrop-overlay.md | 4 ++-- snippets/triangle.md | 4 ++-- snippets/zig-zag-pattern.md | 4 ++-- snippets/zoomin-zoomout-animation.md | 7 ++++--- 15 files changed, 33 insertions(+), 35 deletions(-) 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
diff --git a/snippets/fullscreen.md b/snippets/fullscreen.md index 1e0e83a90..3edf4938f 100644 --- a/snippets/fullscreen.md +++ b/snippets/fullscreen.md @@ -2,14 +2,11 @@ title: Fullscreen tags: visual,advanced firstSeen: 2019-01-12T13:08:40+02:00 -lastUpdated: 2020-12-30T15:37:37+02:00 +lastUpdated: 2021-10-13T19:29:39+02:00 --- Applies styles to an element when in fullscreen mode. - -The `:fullscreen` CSS pseudo-element represents an element that's displayed when the browser is in fullscreen mode. - - Use the `:fullscreen` CSS pseudo-element selector to select and style an element that is displayed in fullscreen mode. - Use a `