Skip to content

Instantly share code, notes, and snippets.

View digi4care's full-sized avatar

Chris Engelhard digi4care

  • Digi4Care
  • Haelen
View GitHub Profile
@digi4care
digi4care / css borders with corner radii
Last active May 30, 2025 18:38
Cool css borders with corner radii, a circle helper, conditional radii that produce a hand-drawn border, and some blobs.
<section id="example" class="bg-gray-50 py-16">
<div class="container space-y-8">
<div
class="hand-drawns mx-auto max-w-4xl space-y-4 space-x-4 text-center"
>
<button class="radius-drawn-1 border p-8">Handrawn 1</button>
<button class="radius-drawn-2 border p-8">Handrawn 2</button>
<button class="radius-drawn-3 border p-8">Handrawn 3</button>
<button class="radius-drawn-4 border p-8">Handrawn 4</button>
<button class="radius-drawn-5 border p-8">Handrawn 5</button>
#!/bin/sh
if [ "$(whoami)" != "root" ]; then
echo "Please run this script as root."
exit
fi
printf "This script will\n\n- Remove Snap\n- Install the deb version of Firefox\n- Install Flatpak\n- Optionally replace Ubuntu Desktop with GNOME\n\n"
read -p "Continue? (Y/n) " start_prompt
case $start_prompt in
[nN] | [nN][oO] )
exit