like w3schools back in the days before MDN and YouTube existed.
Do you mind sharing the good source?
MDN is the best reference to keep on hand to check how something works. https://developer.mozilla.org/en-US/docs/Web/CSS
and web.dev has a pretty decent walk through for learning css https://web.dev/learn/css/
Only if you learned from the wrong source.