dmv.community is one of the many independent Mastodon servers you can use to participate in the fediverse.
A small regional Mastodon instance for those in the DC, Maryland, and Virginia areas. Local news, commentary, and conversation.

Administered by:

Server stats:

160
active users

#css

63 posts54 participants9 posts today

I’m fortunate to have worked with a lot of amazing designers over the years. Some were curious about designing in the browser with basic #HTML and #CSS, but weren’t sure where to begin, or felt discouraged by a lot of developer-centric content.

This is the advice I gave that seemed to resonate most: cloudfour.com/thinks/designing

The author smiles warmly next to five floating icons representing concepts from this article
Cloud Four · Designing in the Browser: Five Tips for Beginners
More from Tyler Sticka

How does the z-order stack behave with Shadow DOM? Is it all above or below the normal DOM components or are they intermixed somehow? For instance, if you launch a full screen modal from the shadow dom, does it behave “properly” in terms of z-index? #css

Have you ever wanted to have gap-rules in your #CSS Grid layouts, similar to column-rules? The Gap Decorations specification has its first public working draft! w3.org/TR/2025/WD-css-gaps-1-2

(“First public working draft” means it’s still being worked on and things in it might change, but the work has been made public and is now part of the historical record. This is a good time for the community [including YOU!] to read it and give feedback. Do **NOT** expect implementations right away.)

www.w3.orgCSS Gap Decorations Module Level 1
Continued thread

Yet more HTML brainteasers for you to argue over!

How do you feel about newlines in attribute values?

For example:
`<img alt="A kitten.
A puppy.">`

Or:
`<div class="cat
dog
horse">`

Is there ever a time when a newline *must not* be replaced by a space?

While I'm not a huge fan of the verbosity of the syntax* here, this is very cool, and the basic demo is surprisingly impressive: webkit.org/blog/16794/the-css-

* Though to be fair: a) I don't remember all of #SVG's commands, and b) this does feel rather expressive and #CSS-y (looking at you, `radial-gradient(circle at center in hsl longer hue, red, blue)`!)

WebKit · The CSS shape() functionShapes are an important aspect of graphic design.

All the stuff you needed to know as a front-end developer in 2015 (HTML5, all the CSS modules, ARIA, vanilla JavaScript, and how to apply it all in a responsive, performant, accessible, progessively-enhanced manner). All that still applies. And now there's awesome stuff like this as well: webkit.org/blog/16794/the-css-

Mind blown.

(And if your job is visual design rather than coding, you still need to know that stuff too.)

WebKit · The CSS shape() functionShapes are an important aspect of graphic design.

Prismic.io has published a collection of lists for many types of css/javascript/svg driven animations to enhance your web apps' user experience. Each example includes real-world use cases and clear code examples in the appropriate languages.

The collection includes:

1. Text Animations
2. Hover Effects
3. Button Animations
4. Background Effects, and
5. Image Effects

"CSS Animation Collection: 150+ Examples & Code"

prismic.io/guides/css-animatio