Skip to content

Commit

Permalink
Bake dates into snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinityyi committed Jun 13, 2021
1 parent 6150dc1 commit 2487083
Show file tree
Hide file tree
Showing 78 changed files with 156 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snippets/border-with-top-triangle.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Border with top triangle
tags: visual,beginner
firstSeen: 2019-01-18T12:18:43+02:00
lastUpdated: 2021-01-07T23:52:15+02:00
---

Creates a content container with a triangle at the top.
Expand Down
2 changes: 2 additions & 0 deletions snippets/bouncing-loader.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Bouncing loader
tags: animation,intermediate
firstSeen: 2018-03-04T06:24:22+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Creates a bouncing loader animation.
Expand Down
2 changes: 2 additions & 0 deletions snippets/box-sizing-reset.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Box-sizing reset
tags: layout,beginner
firstSeen: 2018-02-27T18:59:09+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Resets the box-model so that `width` and `height` are not affected by `border` or `padding`.
Expand Down
2 changes: 2 additions & 0 deletions snippets/button-border-animation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Button border animation
tags: animation,intermediate
firstSeen: 2019-01-21T18:52:46+02:00
lastUpdated: 2021-05-24T15:28:52+03:00
---

Creates a border animation on hover.
Expand Down
2 changes: 2 additions & 0 deletions snippets/button-focus-swing-animation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Button swing animation
tags: animation,intermediate
firstSeen: 2021-05-24T15:28:52+03:00
lastUpdated: 2021-05-24T15:28:52+03:00
---

Creates a swing animation on focus.
Expand Down
2 changes: 2 additions & 0 deletions snippets/button-hover-fill-animation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Button fill animation
tags: animation,beginner
firstSeen: 2020-10-08T20:48:11+03:00
lastUpdated: 2021-04-02T21:34:43+03:00
---

Creates a fill animation on hover.
Expand Down
2 changes: 2 additions & 0 deletions snippets/button-hover-grow-animation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Button grow animation
tags: animation,beginner
firstSeen: 2021-05-24T15:28:52+03:00
lastUpdated: 2021-05-24T15:28:52+03:00
---

Creates a grow animation on hover.
Expand Down
2 changes: 2 additions & 0 deletions snippets/button-hover-shrink-animation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Button shrink animation
tags: animation,beginner
firstSeen: 2021-05-24T15:28:52+03:00
lastUpdated: 2021-05-24T15:28:52+03:00
---

Creates a shrink animation on hover.
Expand Down
2 changes: 2 additions & 0 deletions snippets/checkerboard-pattern.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Checkerboard background pattern
tags: visual,intermediate
firstSeen: 2021-01-11T09:51:43+02:00
lastUpdated: 2021-01-11T09:51:43+02:00
---

Creates a checkerboard background pattern.
Expand Down
2 changes: 2 additions & 0 deletions snippets/circle.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Circle
tags: visual,beginner
firstSeen: 2018-03-04T08:19:52+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Creates a circular shape with pure CSS.
Expand Down
2 changes: 2 additions & 0 deletions snippets/clearfix.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Clearfix
tags: layout,beginner
firstSeen: 2018-02-25T15:14:39+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Ensures that an element self-clears its children.
Expand Down
2 changes: 2 additions & 0 deletions snippets/constant-width-to-height-ratio.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Constant width to height ratio
tags: layout,beginner
firstSeen: 2018-02-27T10:45:26+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Ensures that an element with variable `width` will retain a proportionate `height` value.
Expand Down
2 changes: 2 additions & 0 deletions snippets/counter.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Counter
tags: visual,advanced
firstSeen: 2018-03-07T22:12:42+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Creates a custom list counter that accounts for nested list elements.
Expand Down
2 changes: 2 additions & 0 deletions snippets/custom-checkbox.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Custom checkbox
tags: visual,animation,advanced
firstSeen: 2021-05-16T13:09:15+03:00
lastUpdated: 2021-05-18T21:41:27+03:00
---

Creates a styled checkbox with animation on state change.
Expand Down
2 changes: 2 additions & 0 deletions snippets/custom-scrollbar.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Custom scrollbar
tags: visual,advanced
firstSeen: 2018-03-01T10:34:55+02:00
lastUpdated: 2021-05-16T13:09:15+03:00
---

Customizes the scrollbar style for elements with scrollable overflow.
Expand Down
2 changes: 2 additions & 0 deletions snippets/custom-text-selection.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Custom text selection
tags: visual,beginner
firstSeen: 2018-02-25T15:14:39+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Changes the styling of text selection.
Expand Down
2 changes: 2 additions & 0 deletions snippets/disable-selection.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Disable selection
tags: interactivity,beginner
firstSeen: 2018-02-26T19:09:58+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Makes the content unselectable.
Expand Down
2 changes: 2 additions & 0 deletions snippets/display-table-centering.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Display table centering
tags: layout,intermediate
firstSeen: 2018-03-30T01:15:54+03:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Vertically and horizontally centers a child element within its parent element, using `display: table`.
Expand Down
2 changes: 2 additions & 0 deletions snippets/donut-spinner.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Donut spinner
tags: animation,intermediate
firstSeen: 2018-02-27T17:32:35+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Creates a donut spinner that can be used to indicate the loading of content.
Expand Down
2 changes: 2 additions & 0 deletions snippets/drop-cap.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Drop cap
tags: visual,beginner
firstSeen: 2018-10-13T07:47:30+03:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Makes the first letter of the first paragraph bigger than the rest of the text.
Expand Down
2 changes: 2 additions & 0 deletions snippets/dynamic-shadow.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Dynamic shadow
tags: visual,intermediate
firstSeen: 2018-03-05T13:51:36+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Creates a shadow similar to `box-shadow` but based on the colors of the element itself.
Expand Down
2 changes: 2 additions & 0 deletions snippets/etched-text.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Etched text
tags: visual,intermediate
firstSeen: 2018-02-25T15:14:39+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Creates an effect where text appears to be "etched" or engraved into the background.
Expand Down
2 changes: 2 additions & 0 deletions snippets/evenly-distributed-children.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Evenly distributed children
tags: layout,intermediate
firstSeen: 2018-02-28T13:47:02+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Evenly distributes child elements within a parent element.
Expand Down
2 changes: 2 additions & 0 deletions snippets/fit-image-in-container.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Fit image in container
tags: layout,visual,intermediate
firstSeen: 2018-10-31T08:34:49+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Fits an positions an image appropriately inside its container while preserving its aspect ratio.
Expand Down
2 changes: 2 additions & 0 deletions snippets/flexbox-centering.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Flexbox centering
tags: layout,beginner
firstSeen: 2018-03-03T11:57:27+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Horizontally and vertically centers a child element within a parent element using flexbox.
Expand Down
2 changes: 2 additions & 0 deletions snippets/floating-list-titles.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: List with floating section headings
tags: visual,advanced
firstSeen: 2020-08-18T15:44:01+03:00
lastUpdated: 2021-02-05T10:21:38+02:00
---

Creates a list with floating headings for each section.
Expand Down
2 changes: 2 additions & 0 deletions snippets/fluid-typography.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Fluid typography
tags: visual,intermediate
firstSeen: 2021-05-16T11:23:05+03:00
lastUpdated: 2021-05-16T11:23:05+03:00
---

Creates text that scales according to the viewport width.
Expand Down
2 changes: 2 additions & 0 deletions snippets/focus-within.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Focus Within
tags: visual,interactivity,intermediate
firstSeen: 2018-10-23T03:58:13+03:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Changes the appearance of a form if any of its children are focused.
Expand Down
2 changes: 2 additions & 0 deletions snippets/full-width.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Full-width image
tags: layout,intermediate
firstSeen: 2021-01-07T10:14:46+02:00
lastUpdated: 2021-01-07T10:14:46+02:00
---

Creates a full-width image.
Expand Down
2 changes: 2 additions & 0 deletions snippets/fullscreen.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Fullscreen
tags: visual,advanced
firstSeen: 2019-01-12T13:08:40+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Applies styles to an element when in fullscreen mode.
Expand Down
2 changes: 2 additions & 0 deletions snippets/gradient-text.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Gradient text
tags: visual,intermediate
firstSeen: 2018-02-25T15:14:39+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Gives text a gradient color.
Expand Down
2 changes: 2 additions & 0 deletions snippets/grid-centering.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Grid centering
tags: layout,beginner
firstSeen: 2018-03-03T12:13:59+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Horizontally and vertically centers a child element within a parent element using `grid`.
Expand Down
2 changes: 2 additions & 0 deletions snippets/hamburger-button.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Hamburger Button
tags: interactivity,intermediate
firstSeen: 2019-10-10T03:49:38+03:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Displays a hamburger menu which transitions to a cross button on hover.
Expand Down
2 changes: 2 additions & 0 deletions snippets/height-transition.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Height transition
tags: animation,intermediate
firstSeen: 2018-03-17T10:53:02+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Transitions an element's height from `0` to `auto` when its height is unknown.
Expand Down
2 changes: 2 additions & 0 deletions snippets/horizontal-scroll-snap.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Horizontal scroll snap
tags: interactivity,intermediate
firstSeen: 2020-08-18T14:25:46+03:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Creates a horizontally scrollable container that will snap on elements when scrolling.
Expand Down
2 changes: 2 additions & 0 deletions snippets/hover-additional-content.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Show additional content on hover
tags: visual,intermediate
firstSeen: 2020-08-18T16:40:23+03:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Creates a card that displays additional content on hover.
Expand Down
2 changes: 2 additions & 0 deletions snippets/hover-pespective.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Perspective transform on hover
tags: animation,intermediate
firstSeen: 2021-05-17T13:58:04+03:00
lastUpdated: 2021-05-17T13:58:04+03:00
---

Applies a perspective transform with a hover animation to an element.
Expand Down
2 changes: 2 additions & 0 deletions snippets/hover-shadow-box-animation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: Hover shadow box animation
tags: animation,intermediate
unlisted: true
firstSeen: 2018-03-06T23:41:55+02:00
lastUpdated: 2021-01-04T12:30:40+02:00
---

Creates a shadow box around the text when it is hovered.
Expand Down
2 changes: 2 additions & 0 deletions snippets/hover-underline-animation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Hover underline animation
tags: animation,advanced
firstSeen: 2018-02-28T13:19:22+02:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Creates an animated underline effect when the text is hovered over.
Expand Down
2 changes: 2 additions & 0 deletions snippets/image-hover-menu.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Menu on image hover
tags: layout,animation,intermediate
firstSeen: 2020-04-20T19:15:11+03:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Displays a menu overlay when the image is hovered.
Expand Down
2 changes: 2 additions & 0 deletions snippets/image-hover-rotate.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Image rotate on hover
tags: animation,visual,intermediate
firstSeen: 2020-04-20T18:36:11+03:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Creates a rotate effect for the image on hover.
Expand Down
2 changes: 2 additions & 0 deletions snippets/image-mosaic.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Responsive image mosaic
tags: layout,intermediate
firstSeen: 2020-08-18T17:18:03+03:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Creates a responsive image mosaic.
Expand Down
2 changes: 2 additions & 0 deletions snippets/image-overlay-hover.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Image overlay on hover
tags: visual,animation,advanced
firstSeen: 2020-04-20T14:12:33+03:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Displays an image overlay effect on hover.
Expand Down
2 changes: 2 additions & 0 deletions snippets/input-with-prefix.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Input with prefix
tags: interactivity,visual,intermediate
firstSeen: 2020-10-14T14:16:57+03:00
lastUpdated: 2020-12-30T15:37:37+02:00
---

Creates an input with a visual, non-editable prefix.
Expand Down
Loading

0 comments on commit 2487083

Please sign in to comment.