Hello, I'm Stanko, a software engineer in Belgrade, writing mostly about JavaScript and React.

Xiaomi AirDots review

Two weeks ago I got a pair of cheap Xiaomi’s wireless earphones. This was an experiment to see if I like true wireless concept before buying something more expensive.

Xiaomi AirDots earphones

Read more

CSS only frame animations

I haven’t published anything in a while, which is a shame because I have a couple of good things to write about. That said, today’s post is going to be a short one. I wasn’t sure if theme is interesting enough. But in the end I decided to write it anyway. And it will help me get back in the writing shape.

While setting up a new project on Netlify, I was going through the logs and noticed they are using As far as I know people started using it back in the 80s. text only loader. It is a very simple animation swapping between four text characters (, \, |, /).

Text loader animation

Read more

Accessible range slider

This time I want to share a small range slider (progress bar) I built. Check the demo. Code and documentation are available here.

Range slider screenshot

Same story again, on a React project we needed a media progress bar, and I ended up writing one myself.

Why I didn’t like anything I found? Well, everything I tried was missing one of the things we considered mandatory - good touch support, accessibility (aria attributes, keyboard control), callbacks or easy styling.

Read more

Hiding body scrollbars using CSS

1 Comments

Let me start with a little disclaimer. Just because you can, doesn’t mean you should use it. Hiding scrollbars can be bad for accessibility and user experience.

But there are rare cases where it makes sense, usually when you have scrolling effects or when modal is opened. So use it wisely.

Check the demo. And find the cross browser code below:

Read more

Internet Explorer 6 hacks, ten years after

Exactly ten years ago, on my my friend’s blog I published a blog post about Internet Explorer 6 CSS hacks. I remembered it recently, and thought it would be really cool if I republished that same post, on it’s 10th anniversary.

I added comments about the hacks from today’s perspective to give you some context. Cited parts are from the original post. Younger developers may find some things unbelievable, because browsers came a long way in the last ten years :)

So here it is.

Read more