digitalcourage.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Diese Instanz wird betrieben von Digitalcourage e.V. für die Allgemeinheit. Damit wir das nachhaltig tun können, erheben wir einen jährlichen Vorausbeitrag von 1€/Monat per SEPA-Lastschrifteinzug.

Server stats:

822
active users

#css

74 posts64 participants5 posts today
robrich<p><a href="https://daily-dev-tips.com/posts/css-pseudo-classes-other-states/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">daily-dev-tips.com/posts/css-p</span><span class="invisible">seudo-classes-other-states/</span></a> - <a href="https://hachyderm.io/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a> pseudo-classes: is(), has(), and not().</p>
James Scholes<p>Is a <a href="https://dragonscave.space/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a> selector possible that targets all unordered lists where each `&lt;li&gt;` only contains a single `&lt;a&gt;` (to then remove the bullets)? Other than knowing about all such lists upfront and giving them a class, or putting every such list inside a nav.</p>
Nils Hörrmann<p>In Safari, does anyone know why the existence of a container definition (`container-name`/`container-type`) in a layout results in media queries not getting executed at all or being delayed by 5 to 10 seconds? Like you resize the window and nothing happens, you can still interact with the site and then suddenly the layout flips?! Experienced this for the first time and am a bit stumped.</p><p><a href="https://mastodon.social/tags/webdesign" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdesign</span></a> <a href="https://mastodon.social/tags/css" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>css</span></a> <a href="https://mastodon.social/tags/safari" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>safari</span></a> <a href="https://mastodon.social/tags/bug" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bug</span></a> <a href="https://mastodon.social/tags/containerQuery" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>containerQuery</span></a> <a href="https://mastodon.social/tags/mediaQuery" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mediaQuery</span></a></p>
Inautilo<p><a href="https://mastodon.social/tags/Development" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Development</span></a> <a href="https://mastodon.social/tags/Guides" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Guides</span></a><br>Browser-applied contrast · How to make CSS choose black or white for contrast <a href="https://ilo.im/163v80" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">ilo.im/163v80</span><span class="invisible"></span></a></p><p>_____<br><a href="https://mastodon.social/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a> <a href="https://mastodon.social/tags/Color" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Color</span></a> <a href="https://mastodon.social/tags/BlackWhite" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BlackWhite</span></a> <a href="https://mastodon.social/tags/Contrast" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Contrast</span></a> <a href="https://mastodon.social/tags/Accessibility" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Accessibility</span></a> <a href="https://mastodon.social/tags/WCAG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WCAG</span></a> <a href="https://mastodon.social/tags/APCA" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>APCA</span></a> <a href="https://mastodon.social/tags/Browser" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Browser</span></a> <a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDev</span></a> <a href="https://mastodon.social/tags/Frontend" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Frontend</span></a></p>
iamdtms<p><span class="h-card" translate="no"><a href="https://beige.party/@mayintoronto" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>mayintoronto</span></a></span> ```<br>user-select: none; <br>```</p><p><a href="https://mas.to/tags/css" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>css</span></a></p>
Mauve 👁💜<p>Bro what. You can make almost any element resizeable in <a href="https://mastodon.mauve.moe/tags/css" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>css</span></a> with just the `resize` property and no JavaScript. 🤯</p><p><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/resize" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.mozilla.org/en-US/do</span><span class="invisible">cs/Web/CSS/resize</span></a></p>
Reilly Spitzfaden (they/them)<p>One of the things in my digital garden is this set of tutorials on webmentions: </p><p><a href="https://reillyspitzfaden.com/digital-garden/tutorials/webmention-tutorial/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">reillyspitzfaden.com/digital-g</span><span class="invisible">arden/tutorials/webmention-tutorial/</span></a> </p><p>I noticed I kept writing blog posts about them (and realized I would probably keep doing that for a while!) and decided to put everything in one place. </p><p>You can use the table of contents (also a new site feature!) to hop around and choose the tutorial you want, and the first two are pretty easy even with only a small amount of HTML experience.</p><p><a href="https://hachyderm.io/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a> <a href="https://hachyderm.io/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a> <a href="https://hachyderm.io/tags/WebDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDev</span></a> <a href="https://hachyderm.io/tags/IndieWeb" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>IndieWeb</span></a> <a href="https://hachyderm.io/tags/Webmentions" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Webmentions</span></a> <a href="https://hachyderm.io/tags/Microformats" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Microformats</span></a></p>
Tom Walker<p>Animating to 'auto' sizes continues to be a trash fire in <a href="https://mastodon.social/tags/css" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>css</span></a>.</p><p>This property that might someday fix it is not supported in Safari or Firefox: <a href="https://caniuse.com/?search=interpolate-size" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">caniuse.com/?search=interpolat</span><span class="invisible">e-size</span></a></p><p>The I-have-no-time-and-this-is-stupid fix is that this has been a one-liner in jQuery since forever.</p>
Lobsters<p>CSS attr() gets an upgrade via <span class="h-card" translate="no"><a href="https://mastodon.social/@matheusrich" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>matheusrich</span></a></span> <a href="https://lobste.rs/s/io9rbo" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lobste.rs/s/io9rbo</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/css" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>css</span></a><br><a href="https://developer.chrome.com/blog/advanced-attr" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.chrome.com/blog/adva</span><span class="invisible">nced-attr</span></a></p>
Reuben Walker aka mobileatom<p>Smashing Animations Part 2: How CSS Masking Can Add An Extra Dimension. <a href="https://flipboard.com/tag/css" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a></p><p><a href="https://www.smashingmagazine.com/2025/05/smashing-animations-part-2-css-masking-add-extra-dimension/?utm_source=flipboard&amp;utm_medium=activitypub" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">smashingmagazine.com/2025/05/s</span><span class="invisible">mashing-animations-part-2-css-masking-add-extra-dimension/?utm_source=flipboard&amp;utm_medium=activitypub </span></a></p><p>Posted into Responsive Design, UX, UI, and more <span class="h-card" translate="no"><a href="https://flipboard.com/@mobileatom/responsive-design-ux-ui-and-more-26jetk41z" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>responsive-design-ux-ui-and-more-mobileatom</span></a></span></p>
LavX News<p>Revolutionizing CSS: The Enhanced attr() Function in Chrome 133</p><p>The latest update to the CSS attr() function in Chrome 133 introduces groundbreaking capabilities, allowing developers to leverage HTML attribute values across various CSS properties. This enhancement...</p><p><a href="https://news.lavx.hu/article/revolutionizing-css-the-enhanced-attr-function-in-chrome-133" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">news.lavx.hu/article/revolutio</span><span class="invisible">nizing-css-the-enhanced-attr-function-in-chrome-133</span></a></p><p><a href="https://mastodon.cloud/tags/news" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>news</span></a> <a href="https://mastodon.cloud/tags/tech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tech</span></a> <a href="https://mastodon.cloud/tags/WebDevelopment" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDevelopment</span></a> <a href="https://mastodon.cloud/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a> <a href="https://mastodon.cloud/tags/Chrome133" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Chrome133</span></a></p>
David Bisset<p>Hiding elements that require JavaScript without <a href="https://phpc.social/tags/JavaScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JavaScript</span></a></p><p><a href="https://0xda.de/blog/2025/04/hiding-elements-that-require-javascript-without-javascript" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">0xda.de/blog/2025/04/hiding-el</span><span class="invisible">ements-that-require-javascript-without-javascript</span></a></p><p><a href="https://phpc.social/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a> <a href="https://phpc.social/tags/webdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdev</span></a></p>
Marc Amos<p>I recently overhauled my website and when it was time to style the buttons I decided: nah, let's roll with browser defaults.</p><p>(I stuck with browser defaults for a lot of things.)</p><p>It looks good – I might even consider it great. It all works perfectly in light and dark mode, it's accessible, and it's less <a href="https://front-end.social/tags/css" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>css</span></a> I need to send over the wire, maintain, etc.</p>
Larry Garfield<p>This is almost certainly not the right way to do this, but damn it is cool that you can.</p><p><a href="https://dev.to/madsstoumann/guitar-chords-in-css-3hk8" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">dev.to/madsstoumann/guitar-cho</span><span class="invisible">rds-in-css-3hk8</span></a></p><p><a href="https://phpc.social/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a> <a href="https://phpc.social/tags/NoJS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NoJS</span></a></p>
Justin Ferrell<p>When I see <span class="h-card" translate="no"><a href="https://front-end.social/@chriscoyier" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>chriscoyier</span></a></span> build stuff like this, I feel like I don’t actually know <a href="https://mastodon.social/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a> at all 😂</p><p><a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDev</span></a> </p><p><a href="https://frontendmasters.com/blog/container-query-for-is-there-enough-space-outside-this-element/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">frontendmasters.com/blog/conta</span><span class="invisible">iner-query-for-is-there-enough-space-outside-this-element/</span></a></p>
Wolfram wants peace<p>Sometimes the best tools are the simplest. This minimal "Copy to Clipboard" component demonstrates how far you can go with just standard web technologies. No build tools, no frameworks, no external dependencies—just a few lines of CSS and JavaScript. It works anywhere HTML works.</p><p><a href="https://picostitch.com/blog/2025/05/allow2copy/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">picostitch.com/blog/2025/05/al</span><span class="invisible">low2copy/</span></a></p><p><a href="https://mastodontech.de/tags/usetheplatform" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>usetheplatform</span></a> <a href="https://mastodontech.de/tags/web" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>web</span></a> <a href="https://mastodontech.de/tags/js" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>js</span></a> <a href="https://mastodontech.de/tags/css" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>css</span></a></p>
small circle 🕊 in calmness<p>Ayllu v0.4 has been released!</p><p><a href="https://social.coop/tags/Ayllu" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ayllu</span></a> is a code forge designed for performance, simplicity and hackability. The <a href="https://social.coop/tags/AGPL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AGPL</span></a>-licensed project by Kevin Schoon can be considered a <a href="https://social.coop/tags/SmallTech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SmallTech</span></a> / <a href="https://social.coop/tags/SmallWeb" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SmallWeb</span></a> initiative.</p><p>You can find the Ayllu code, hosted on Ayllu at: <a href="https://ayllu-forge.org/ayllu/ayllu" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">ayllu-forge.org/ayllu/ayllu</span><span class="invisible"></span></a></p><p>Read all about new features in the release notes. Also, are you good at <a href="https://social.coop/tags/UX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UX</span></a> and designing UI's with plain <a href="https://social.coop/tags/HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a> and <a href="https://social.coop/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a>?</p><p>Then how would you design the UI for <a href="https://social.coop/tags/git" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>git</span></a> blame, asks Kevin.</p><p><a href="https://kevinschoon.com/blog/announcing-ayllu-0.4" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">kevinschoon.com/blog/announcin</span><span class="invisible">g-ayllu-0.4</span></a></p>
Mia (web luddite)<p>On Thursday, <span class="h-card" translate="no"><a href="https://front-end.social/@stacy" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>stacy</span></a></span> &amp; I will be answering your <a href="https://front-end.social/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a> questions on <span class="h-card" translate="no"><a href="https://front-end.social/@OddBird" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>OddBird</span></a></span> 's Winging It live stream!</p><p>Like:<br>- In 2025, is there still a use case for float?<br>- What's the “flat tree”?<br>- Use cases for container queries?</p><p>What are you curious about? Join us and ask!</p><p><a href="https://www.youtube.com/watch?v=EPuzf0onSQ0" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=EPuzf0onSQ</span><span class="invisible">0</span></a></p>
Nathan Knowler<p>Fun what you can do with `linear()`, `sibling-index()`, invoker commands, `&lt;dialog&gt;` elements, `@starting-style`. <a href="https://sunny.garden/tags/CSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSS</span></a> <a href="https://sunny.garden/@knowler/114502776946163404" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">sunny.garden/@knowler/11450277</span><span class="invisible">6946163404</span></a></p>
Matthias Ott<p>“Semantics should be defined in HTML. And styles and visual affordances should follow from there.”</p><p>An incredibly thorough and important post by <span class="h-card" translate="no"><a href="https://sarasoueidan.dev/@SaraSoueidan" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>SaraSoueidan</span></a></span> about the current state of CSS carousel (in)accessibility. 👏</p><p>tl;dr – don’t use them (yet?)<br><a href="https://mastodon.social/tags/a11y" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>a11y</span></a> <a href="https://mastodon.social/tags/css" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>css</span></a></p><p><a href="https://www.sarasoueidan.com/blog/css-carousels-accessibility/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">sarasoueidan.com/blog/css-caro</span><span class="invisible">usels-accessibility/</span></a></p>