Skip to content

Instantly share code, notes, and snippets.

View Inflate Plugin for Children Padding - Tailwind CSS
Authored by @crswll
// Config
const inflatePlugin = function ({ addComponents, theme, variants, e }) {
const spacing = theme('spacing', {})
Object.entries(spacing).forEach(([name, padding]) => {
addComponents(
{
[`.${e(`inflate-${name}`)} > *`]: { padding },
View Projects and Sites I Find Useful
Design
* https://www.colorbox.io/
This will be updated over time.
View WordPress Backup to Amazon S3
#!/usr/bin/env bash
# WP-CLI Back up Script to Amazon S3
# Source: https://www.jonathan.vc
# Author: Jonathan Dingman
# Adapted from Mike at WP Bullet
#define local path for backups
BACKUPPATH=/tmp/backups
#path to WordPress installations