A CSS trick using padding
, object-fit
and object-position
to show / hide img
content.
Snippets
Make magical things happen with a few lines
A
git yolo
command to commit all current changes to Git with a timestamp.Learn how to define TypeScript types for date strings or version numbers using template literal types.
Learn how to use data attributes to turn off autocompletion for common password managers.
A snippet to fade out text with
mask-image
.