← Back to Blog
A Quick Note on CSS
Use clamp() for fluid typography: font-size: clamp(1rem, 2.5vw, 2rem); — scales between min and max based on viewport width.
Server Config Snippet
server {
listen 443 ssl;
server_name example.com;
root /var/www/html;
index index.php index.html;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}Useful Git Alias
Add this to ~/.gitconfig for a compact log with graph:
[alias]
lg = log --graph --oneline --all --decorate