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.









