Building a Multi-Stage Timetable With Modern CSS Using Grid, Subgrid, “round()”, and “mod()”, by @nilsbinder:
Building a Multi-Stage Timetable With Modern CSS Using Grid, Subgrid, “round()”, and “mod()”, by @nilsbinder:
“light-dark()” Isn’t Always the Same as “prefers-color-scheme”, by @stefan:
https://www.stefanjudis.com/today-i-learned/light-dark-isnt-the-same-as-prefers-color-scheme/
The New “clamp()” Function in PHP 8.6, by @amitmerchant.bsky.social:
Creating Scroll-Based Animations in Full view(), by @preethisam.bsky.social (@csstricks):
https://css-tricks.com/creating-scroll-based-animations-in-full-view/
How to Unit Test a Vue Composable With TypeScript, by @johnfraney.ca:
https://johnfraney.ca/blog/how-to-unit-test-a-vue-composable-with-typescript/
Just three new bash #functions I don't know why I didn't write months/years ago ;)
function binfind {
#search for patterns in the system bin directories
local d oIFS="$IFS"
IFS=:
for d in $PATH; do
ls -1 $d/$@ 2>&-
done
IFS="$oIFS"
}
function tootlookup {
#Show a fediverse thread when given a url
url="$*"
[[ $url == http* ]] || ( warn "please specify URL"; return 1 );
toot --no-color thread $(toot --no-color search "$url" |awk '$1=="*" {print $2}' |head -1)
}
function colors {
#uses ImageMagick identify to print the number of colors in a specified image
local oIFS="$IFS" output maxlen=0
IFS=$'\n'
for f in $@; do
(( ${#f} >> maxlen )) && maxlen=${#f}
done
((maxlen+=4))
for f in $@; do
printf "%-${maxlen}s " $f
output=$(identify -verbose $f |& grep Colors: |sed 's/^ *Colors: //')
[[ -n $output ]] || output="(unknown)"
echo $output
done
IFS="$oIFS"
}
Introduction to CSS “if” Statements and Conditional Logic, by @markodenic.com:
https://markodenic.com/introduction-to-css-if-statements-and-conditional-logic/

Conditional logic is a familiar concept to anyone who has written a programming language. Languages like JavaScript or Python use if/else statements to evaluate expressions and execute different blocks of code depending on whether the condition is true or false.
More CSS “random()” Learning Through Experiments, by @chriscoyier (@frontendmasters.com):
https://frontendmasters.com/blog/more-css-random-learning-through-experiments/