(Arguably weird) web dev tale
What am I on?
So, CSS is kind of the language everyone who touches Web development hates, why? because it’s weird, not logical at all, too easy, and it’s not a programming language.
1. It’s not weird, it’s actually well made, except for a few things, like every other language.
2. It’s very logical, you’re just too dumb to figure it out, don’t worry, nobody does, except when they actually try.
3. It’s not easy, oh right you agree, you’re just saying that because you don’t understand the parts that are complicated. Yes, it’s complicated, and sophisticated, which doesn’t mean hard either btw.
4. It IS a programming language, just using a very different system and syntax, for a very different purpose, for which it’s unbeatable at.
As you can see, I love to defend CSS, poor chap has no way of defending itself, after all it’s not alive… (arguably weird, remember)
That doesn’t mean it’s bad, does it? Some will say JS is bad, and it may not be the best language, it’s still very good at what’s it’s supposed to be made for. (seems to be a pattern, a torch is good at making one thing only: light)
Now, CSS does have one big issue, it’s kind of at its begining, not really because it’s 20 years old, but it’s only been a few years since browsers finally decided to make it more compatible, and that means a few things.
1. It’s growing slowly, small things take months to be implemented, mostly because they try to implement them logically, to prevent some people to say it’s bad.
2. It’s still missing some very basic stuff.
1. Either I forgot about the “problem” and decided to keep it like it was.
Here are the incriminated lines:
1 2 3 4
1 2 3 4 5
This should work in 95% of cases
So wait, what’s new?
Well the navigation bar is sticky at the top of the page, making it easier to use it even if you’re deep in some content.
And believe me, this whole article is simply about this…
Now why all this for that?
I had this (the sticky navbar) in the previous design, and believe it or not, I only noticed the problem caused by it, when scrolling to a title, the bar would appear above it, months later.
I tried to fix it, but I did not notice the fix wasn’t that good, so I decided that “eh, it’s not much of a problem is it?” and it wasn’t, so I kept it.
So I did.
And then I took 7 times the time needed to fix this bug to make this article.
I wanted to go back to my old, story-telling way of writing, even though I don’t really like reading myself when I write like this.
I’m tired, tomorrow I’m getting my actual CFC paper, I got a new suit for it, so I’m chuffed (that’s two Brit expressions in one article btw).
Have a nice day :D