Slider indicators have grown in popularity over the last several years, but they sometimes fail at the most basic of tasks. When used as links, their size is too small. Pointing the mouse cursor to a target that’s just a couple of pixels in height and width can be truly frustrating. Naturally, if your target audience (no pun intended) will be using your website on mobile devices, the tap target needs to be even bigger (around 50x50px).
This can be achieved with just a little bit of CSS magic and a clever use of paddings.
This year marks a decade of running this website, which is quite an achievement for me. Yesterdayishere.com v1 was built somewhere in 2004 and through creating it I learnt a lot about HTML, CSS, web standards, WordPress and Photoshop. Before I knew it, I was hooked and making websites was all I wanted to do. I managed to translate that into a full time job in a relatively short period of time, and that makes me proud. Often times I take for granted that I still very much love what I do and I get paid to do it.
Apart from the first two years or so, this website generally served me more as an experimental outlet than anything else and the posts have often been few and far between. Hopefully I can change that and give back to the community with more useful posts :)
If you’ve ever done any coding, you know getting in the zone is super important. I mostly do HTML & CSS and although I love it, getting into the right frame of mind can sometimes be a problem. Especially if the project I’m working on isn’t the best thing in the world, or if I’ve hit some roadblocks earlier and I know getting back into the groove won’t be easy.
I’ve heard writers use a trick that is similar to mine, and that is setting small goals. So here’s how I approach the problem—I start with something small. It can be as small as just writing a couple of crappy lines, just to get things going. It can be analyzing the semantics and rethinking the structure. It can even be as small as going through the code and thinking of ways to optimize little pieces of it. Sometimes all you need is a small trigger to set things off. And even if what you end up with is writing bad code before realizing the timing is not right, at least you’ve done something to kickstart your next session. So start small and take it from there.