Today on StackOverflow a user asked the following question:
In the following picture, I have mocked up a CSS active menu styling I would like to find examples of, and hopefully replicate.
You will notice there is a triangle highlighting the active menu, and it can appear bold too.
Question 1. What is this “active menu triangle style” actually called? So I can find CSS examples of it.
Question 2. Where can I find examples of this?
While I don’t know what this kind of menu would exactly be called, it did get me thinking about how to solve this using only CSS, so preferrably without background images.
My first thought was to use a css border triangle, but those only come in one solid color per triangle. This one needed to be a white triangle with a border, which can’t be achieved with the border slopes method. So I figured I’d just have to append an element looking like a triangle, using the :after pseudo-element. I’ll explain how I did that.
Recently I stumbled upon this great post explaining why linking out can be good for your website. The article explains how one of the big problems on the web today is that everybody wants links, but nobody wants to give them. The author claims it’s time for a paradigm shift towards a more generous, outlinking web. And I agree whole-heartedly.
This in turn got me thinking about the nofollow-tag. Ever since the internets were invented spam has been growing and growing on our beloved web. Many measures have been and are being taken to prevent spam, but most to no avail. One of these was nofollow. (more…)
Just a reminder for all of those who didn’t add the website to their RSS reader: 24ways has started agäin!
24 ways to impress your friends could be best described as an advent calendar for web developers. Starting on December 1st and counting down to Christmas, for 24 days some of the best web developers and designers (among which have been Jeffrey Zeldman, Andy Clarke and Jeremy Keith) write some really interesting posts about all kinds of web-related subjects.
Not only does the site look really good, even most of the oldest posts from 2005 are still relevant today. Just a few random picks from my favorite articles: