mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

9.2K
active users

#svg

14 posts14 participants1 post today

🌘 重訪圖像地圖
➤ 懷舊與現代技術的結合
css-tricks.com/revisiting-imag
本文探討了在現代網頁設計中重新利用圖像地圖的可能性。作者為一位獲獎遊戲作曲家設計網站時,希望結合90年代的復古風格,同時兼顧現代網頁的可訪問性、效能和響應式設計。他回顧了圖像地圖的歷史,並分享瞭如何透過圖像地圖實現互動式導航,克服了圖像地圖在響應式設計上的挑戰,並最終提出了一種使用SVG路徑和錨點的替代方案,以實現更靈活和可維護的互動式圖像。
+ 這篇文章讓我回憶起以前的網頁設計,當時圖像地圖非常流行。現在重新看來,它仍然有其價值,但需要一些技巧才能在現代網頁中有效地使用。
+ 作者的解決方案很有創意,利用SVG路徑和錨點來克服圖像地圖的限制,這是一個值得學習的技巧。
#Web開發 #CSS #SVG #網頁設計

Revisiting Image Maps
CSS-Tricks · Revisiting Image Maps | CSS-TricksLet’s run through a quick refresher. Image maps date all the way back to HTML 3.2, where, first, server-side maps and then client-side maps defined clickable regions over an image using map and area elements.

Hmm, I have an SVG with a textPath to show some wiggly text and now I want to do some post-processing on it in Figma, but when I open it in Figma, the text layer contains no text?

Any suggestions? Can I convert a text/textPath to outline/path in the browser using JavaScript somehow? Could I calculate the x/y/rotation of each letter using JavaScript somehow and replace the textPath? Have I missed some obvious, easy alternative?

#ReleaseSaturday — Just added 35 new color palettes (255 in total now) to thi.ng/color-palettes. All of these are based on images and dominant colors have been extracted via this tool below and then partially hand edited. The SVG swatches were generated via a custom tool (included in the project repo).

The package provides accessors for obtaining themes as CSS hex colors, RGB or LCH tuples. Themes can also be programmatically selected/filtered by a number of composable criteria (examples in the readme)...

demo.thi.ng/umbrella/dominant-

This #colorful TRS-80 #retrocomputer came with extented #ColorBASIC, a
Motorola 6809E CPU @1.79MHz and up to half a Megabyte of RAM. See our #Tandy #RadioShack #M3 #graphics for general sales details, but this early Color Computer earned his nickname #CoCo much more than #LISA.

Of course, our #vectorgraphics are made in #SVG with #FreeSoftware like #Inkscape, not #Adobe #Illustrator #Ai #SaaS scams. The dynamic perspective is taken from a photo made by the Computer #History #Museum, Slovenia. That's why their cute robot is implemented, too. @muzej@mastodon.social

New Kitten Release 🎉

• Breaking change: `kitten.icons` namespace is now flat (not alphabetically sharded). This should make it much nicer to author with. (The alphabetical sharding was an attempt to work around a size limitation with large objects when using automatic type inference in the TypeScript language server. Since I’m now generating a TypeScript type definition for the entire data structure, the limitation no longer applies and thus the sharding is no longer necessary.) kitten.small-web.org/reference

• The `tags` and `categories` hash tables on `kitten.icons` – which are included as authoring-time aids to help you find icons using metadata searches in your editor – are now marked as unenumerable properties so they no longer pollute the root icons namespace so you can, for example, safely iterate through all icons with a simple loop.

• I’ve started a change log even though Kitten is still pre-release so there is a better place to find them than looking through my Mastodon release notification posts :) codeberg.org/kitten/app/src/br

Enjoy!

:kitten:💕