I discussed final time that I’ve been engaged on a brand new web site for Emmy-award-winning recreation composer Mike Value. He employed me to create a extremely graphical design that showcases his work.
Mike loves ’90s animation, notably Disney’s Duck Tales and different animated sequence. He challenged me to discover a option to incorporate their retro ’90s fashion into his design with out making it a pastiche. However that wasn’t my solely problem. I additionally wanted to attain that ’90s really feel through the use of up-to-the-minute code to keep up accessibility, efficiency, responsiveness, and semantics.

Designing for Mike was like a visit again to when mainstream web site design appeared extra spontaneous and fewer ruled by conventions and finest practices. Some individuals describe these designs as “whimsical”:
adjective
- spontaneously fanciful or playful
- given to whims; capricious
- quaint, uncommon, or unbelievable
— Collins English Dictionary
However I’m not so certain that’s fully correct. “Playful?” Positively. “Fanciful?” Probably. However “unbelievable?” That relies upon. “Whimsy” sounds superfluous, so I name it “expressive” as a substitute.
Finding out design from manner again, I remembered how web sites typically included graphics that mixed branding, content material, and navigation. Just about each reference to internet design within the ’90s — after I designed my first web site — talks about Warner Brothers’ Area Jam from 1996.

So, I’m not going to try this.
Manufacturers like Nintendo used their house pages to direct individuals to their content material whereas making branded visible statements. Cheestrings mixed graphics with navigation, making me marvel why we don’t see designs like this immediately. Goosebumps typified this strategy, combining cartoon illustrations with brightly coloured shapes right into a purposeful and visually wealthy banner, proving that being helpful doesn’t imply being boring.

Within the ’90s, after I developed graphics for web sites like these, I both sliced them up and put their elements in tables or used principally forgotten picture maps.
A quick overview of properties and values
Let’s run by way of a fast refresher. Picture maps date all the best way again to HTML 3.2, the place, first, server-side maps after which client-side maps outlined clickable areas over a picture utilizing map
and space
parts. They had been well-liked for graphics, maps, and navigation, however their use declined with the rise of CSS, SVG, and JavaScript.
That
usemap
attribute:
![]()
These parts can have separate href
and alt
attributes and will be enhanced with ARIA to enhance accessibility:
The form
attribute specifies an space’s form. It may be a primitive circle
or rect
or a polygon outlined by a set of absolute x
and y
coordinates:
Regardless of their age, picture maps nonetheless provide loads of advantages. They’re light-weight and wish (virtually) no JavaScript. Extra on that in only a minute. They’re accessible and semantic when used with alt
, ARIA, and title
attributes. Regardless of being from a distinct period, even fashionable cell browsers help picture maps.

My design for Mike Value contains a number of graphic navigation parts, which made me marvel if picture maps may nonetheless be an applicable answer.
Picture maps in motion
Mike needs his web site to showcase his previous work and the initiatives he’d love to do. To make this facet of his design discoverable and enjoyable, I created a map for individuals to discover by urgent on areas of the map to open modals. This map accommodates numbered circles, and urgent one pops up its modal.

My first thought was to embed anchors into the exterior map SVG:
This strategy is problematic. These anchors are solely lively when SVG is inline and don’t work with an
ingredient. However picture maps work completely, although specifying their coordinates will be laborious. Luckily, loads of instruments can be found, which make defining coordinates much less tedious. Add a picture, select form varieties, draw the shapes, and replica the markup:
Picture maps work effectively when photographs are fastened sizes, however versatile photographs current an issue as a result of map coordinates are absolute, not relative to a picture’s dimensions. Making picture maps responsive wants just a little JavaScript to recalculate these coordinates when the picture modifications measurement:
operate resizeMap() {
const picture = doc.getElementById("initiatives");
const map = doc.querySelector("map[name="projects-map"]");
if (!picture || !map || !picture.naturalWidth) return;
const scale = picture.clientWidth / picture.naturalWidth;
map.querySelectorAll("space").forEach(space => {
if (!space.dataset.originalCoords) {
space.dataset.originalCoords = space.getAttribute("coords");
}
const scaledCoords = space.dataset.originalCoords
.break up(",")
.map(coord => Math.spherical(coord * scale))
.be part of(",");
space.setAttribute("coords", scaledCoords);
});
}
["load", "resize"].forEach(occasion =>
window.addEventListener(occasion, resizeMap)
);
I nonetheless wasn’t pleased with this implementation as I needed somebody to have the ability to press on a lot bigger map areas, not simply the numbered circles.
Each
has coordinates which outline the way it’s drawn, they usually’re relative to the SVG viewBox:
Alternatively, a map’s
values should be transformed. Luckily, Raphael Monnerat has written PathToPoints, a software which does exactly that. Add an SVG, select the purpose frequency, copy the coordinates for every path, and add them to a map space’s coords:
Extra points with picture maps
Picture maps are hard-coded and time-consuming to create with out instruments. Even with instruments for producing picture maps, changing paths to factors, after which recalculating them utilizing JavaScript, they might be difficult to keep up at scale.
However the deal-breaker for me was that a picture map’s pixel-based values are unresponsive by default. So, what could be another answer for implementing my map utilizing CSS, HTML, and SVG?

Anchors positioned completely over my map wouldn’t resolve the pixel-based positioning downside or give me the irregular-shaped clickable areas I needed. Anchors inside an exterior SVG wouldn’t work both.
However the answer was staring me within the face. I noticed I wanted to:
- Create a brand new SVG path for every clickable space.
- Make these paths invisible.
- Wrap every path inside an anchor.
- Place the anchors under different parts on the finish of my SVG supply.
- Substitute that exterior file with inline SVG.

I created a set of six a lot bigger paths which outline the clickable areas, every with its personal fill
to match its numbered circle. I positioned every anchor on the finish of my SVG supply:
Then, I diminished these anchors’ opacity
to 0
and added a brief transition
to their full-opacity hover state:
#hyperlinks a {
opacity: 0;
transition: all .25s ease-in-out;
}
#hyperlinks a:hover {
opacity: 1;
}
Whereas utilizing a picture map’s

I’d add gloss to these numbered circles to be in keeping with the branding I’ve designed for Mike. Or, I might embody photographs, titles, or different content material to preview the pop-up modals:
Strive it for your self:
Expressive design, fashionable strategies
Designing Mike Value’s web site gave me an opportunity to mix expressive design with fashionable growth strategies, and revisiting picture maps jogged my memory simply how necessary a software picture maps had been through the interval Mike loves a lot.
In the end, picture maps weren’t the best software for Mike’s web site. However exploring them helped me perceive what I actually wanted: a option to recapture the expressiveness and persona of ’90s web site design utilizing fashionable strategies which are accessible, light-weight, responsive, and semantic. That’s what design’s about: choosing the proper software for a job, even when that generally means wanting again to maneuver ahead.
Biography: Andy Clarke
Also known as one of many pioneers of internet design, Andy Clarke has been instrumental in pushing the boundaries of internet design and is understood for his artistic and visually gorgeous designs. His work has impressed numerous designers to discover the total potential of product and web site design.
Andy’s written a number of industry-leading books, together with Transcending CSS, Hardboiled Net Design, and Artwork Route for the Net. He’s additionally labored with companies of all sizes and industries to attain their targets by way of design.
Go to Andy’s studio, Stuff & Nonsense, and take a look at his Contract Killer, the favored internet design contract template trusted by 1000’s of internet designers and builders.