Heh, off-topic, but this is one of my favourite "EU English"-isms: using actual to mean current.
Completely understandable, given how e.g. the Dutch translation of current is actueel (whereas the translation of actual is daadwerkelijk).
Anyway, maybe this is even helpful if a native speaker is confused :)
[1] https://www.eca.europa.eu/Other%20publications/EN_TERMINOLOG...
- Danish: aktuel
- Dutch: actueel
- French: actuel
- German: aktuell
- Italian: attuale
- Norwegian: aktuell
- Polish: aktualny
- Portuguese: atual
- Romanian: actual
- Spanish: actual
Even Hungarian has aktuális! So using "actual" to mean "current" is basically just fixing English.
I also approach writing CSS with the goal of writing as little as possible. Not because I don't like it - I tend to think it gets an unfairly bad rap - but because it teaches you how to more effectively style layouts without layering too many declarations.
And, to play devil's advocate a little: You can't make up a rule that doesn't exist. Either your CSS will work or it won't. And if it works it's not wrong.
So much this. Over the course of years, I've gone from writing my CV in Word, TeX, and (finally) straight HTML. Word processors are fairly straightforward -- and yet -- for more complex layouts you will eventually encounter internal sizing constraints that require messing with the global template.
This reality - combined with the fact that MS Office is a gigantic monster which is barely tolerable on macOS, led me to TeX. Plaintext -- more or less -- and good support for integrating with version control systems made it an easy choice.
Fast forward a few years and I'm all HTML + a handful of CSS rules w/ @print at this point. Cryptic error messages and the care and feeding of a BasicTex install just became too much work to bother with. At least in HTML, save for a showstopping error, your document will render something and the errors are usually pretty obvious.
Not so much in TeX...
Modern layout also meant I could ditch floats for nearly everything - flexbox will create reasonable page headers with much less gnashing of teeth.
The best resource on CSS basics, I have found, is https://web.dev/learn/css. It includes flexbox and grid.
For design guidelines I recommend Refactoring UI. It is full of actionable advice, which books such as The UX book is lacking.
In my project I use TailwindCSS (by the author of Refacturing UI) with Daisy UI components, so I don't actually write raw CSS. At first TailwindCSS feels like a step backwards to inline CSS, but it is just better than the alternative. I recommend giving it a chance.
[2] https://developer.mozilla.org/en-US/docs/Web/CSS
The former is not meant as a learning resource for new web devs. And the latter (which is neither official nor authoritative) usually has information about the "baseline" support and browser compatibility tables.
https://frontendmasters.com/teachers/jen-kramer/
I attempted CSS back when you had to float anything/everything for positioning and found it extremely confusing. I recently picked it back up, and flexbox and grid make it sooo much easier. I feel like I'm finally getting it.
Don't approach it as a programming language to be "learned" by reading the docs. Just open an inspector and start fiddling.