photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

244
active users

#css

40 posts36 participants3 posts today
Stephanie Eckles<p>Something I think hasn't been emphasized about <a href="https://front-end.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> `:is()` and `:where()` is that they are forgiving selectors.</p><p>This means that if an item inside their scope isn't understood by the browser, it does _not_ invalidate the entire rule!</p><p>It's a superpower because in a traditional selector list, an invalid selector does cause the entire rule to be discarded.</p><p>Note that both `:has()` and the enhanced `:not()` are not forgiving, but you can wrap them with either `is` or `where` to hop around that!</p>
randomMDN<p>🦖 font-optical-sizing<br>✅ Widely available (from Mar 2020)</p><p><a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-optical-sizing" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.mozilla.org/en-US/do</span><span class="invisible">cs/Web/CSS/font-optical-sizing</span></a></p><p>The font-optical-sizing CSS property sets whether text rendering is optimized for viewing at different sizes.</p><p><a href="https://front-end.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a> <a href="https://front-end.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a></p>
CSS by T. Afif :verified:<p>📝 New CSS Article!</p><p>Do you want to have an overview of what modern CSS can do? Check my latest article</p><p><a href="https://frontendmasters.com/blog/infinite-marquee-animation-using-modern-css/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">frontendmasters.com/blog/infin</span><span class="invisible">ite-marquee-animation-using-modern-css/</span></a></p><p>Learn how I made that infinite marquee animation with less than 10 lines of CSS using shape(), sibling-index(), and more!</p><p><a href="https://front-end.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> <a href="https://front-end.social/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a></p>
That HTML Blog & The Spicy Web<p>And now, the post you've all been waiting for…</p><p>(probably not, but you get it anyway!) 😂</p><p>The <a href="https://intuitivefuture.com/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> Framework Wars™ have come to an end. And we can thank…<a href="https://intuitivefuture.com/tags/Tailwind" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tailwind</span></a> v4 for that! 🤯</p><p>Freely compose UI using native CSS variables &amp; syntax, Tailwind design tokens in CSS (configured with CSS!), and Tailwind utility classes only where it makes sense. Hallelujah! 🙌</p><p>As historically one of Tailwind's biggest critics it is *weird* to sing its praises. 2025's biggest <a href="https://intuitivefuture.com/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a> surprise?<br><a href="https://thathtml.blog/2025/08/tailwind-and-css-friends-at-last/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">thathtml.blog/2025/08/tailwind</span><span class="invisible">-and-css-friends-at-last/</span></a></p>
Andy P<p>Fun <a href="https://mastodon.art/tags/css" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>css</span></a> trick: </p><p>width: calc(infinity * 1px);<br>height: calc(infinity * 1px);</p>
CSS Basics<p>How to Discover a <a href="https://hachyderm.io/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> Trick: "Do we invent or discover CSS tricks? Lee Meyer discusses how creative limitations, recursive thinking, and unexpected combinations lead to his most interesting ideas." <a href="https://css-tricks.com/how-to-discover-a-css-trick/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">css-tricks.com/how-to-discover</span><span class="invisible">-a-css-trick/</span></a></p>
David Bisset<p>"Basecoat" ia "all of the shadcn/ui magic, none of the <a href="https://phpc.social/tags/React" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>React</span></a>."</p><p>A components library built with <a href="https://phpc.social/tags/Tailwind" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tailwind</span></a> <a href="https://phpc.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> that works with any web stack.</p><p><a href="https://basecoatui.com" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">basecoatui.com</span><span class="invisible"></span></a></p><p><a href="https://phpc.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a> <a href="https://phpc.social/tags/frontend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>frontend</span></a></p>
Peter Kröner<p>Code.Movie 0.0.32 adds support for <a href="https://mastodon.social/tags/PHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP</span></a>!</p><p>👉 <a href="https://code.movie/blog/php-support-in-0.0.32.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">code.movie/blog/php-support-in</span><span class="invisible">-0.0.32.html</span></a></p><p>Also included: out-of-bounds checks for decorations, improved animation heuristics for <a href="https://mastodon.social/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> and <a href="https://mastodon.social/tags/TypeScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TypeScript</span></a>, and full support for <span class="h-card" translate="no"><a href="https://mastodon.social/@Scope" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Scope</span></a></span> rules in <a href="https://mastodon.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a></p>
Peter Kröner<p>🤯 TIL: there is a <a href="https://mastodon.social/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> equivalent to <a href="https://mastodon.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> support queries: a static method on the CSS object!</p><p>👉 <a href="https://developer.mozilla.org/en-US/docs/Web/API/CSS/supports_static" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.mozilla.org/en-US/do</span><span class="invisible">cs/Web/API/CSS/supports_static</span></a></p><p><a href="https://mastodon.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a></p>
UmWerker 🕊 ☮️ 🤘<p><a href="https://todon.nl/tags/euractiv" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>euractiv</span></a> hat übers Wochenende offenbar beschlossen auf <a href="https://todon.nl/tags/Privatsph%C3%A4re" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Privatsphäre</span></a> und <a href="https://todon.nl/tags/Datenschutz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Datenschutz</span></a> seiner Besucher zu scheißen. Nicht nur den Datensammler <a href="https://todon.nl/tags/cloudflare" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cloudflare</span></a> einzubinden, sondern die rote Warnliste in <a href="https://todon.nl/tags/uMatrix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>uMatrix</span></a> so lang ist, dass scrollen notwendig ist. Zudem wurde zu <a href="https://todon.nl/tags/tailwind" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tailwind</span></a> <a href="https://todon.nl/tags/css" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>css</span></a> gewechselt (und als cdn geladen), von dessen Nutzung eher abgeraten wird.</p><p>Dann begebe ich mich mal auf die Suche nach einer neuen, seriösen Quelle für <a href="https://todon.nl/tags/Europa" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Europa</span></a> <a href="https://todon.nl/tags/News" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>News</span></a>.</p>
skribe 🇺🇦 :verified_mustard:<p>Anyone know why -webkit-text-stroke doesn't work on Chrome browsers? Is there a work around?</p><p><a href="https://aus.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> <a href="https://aus.social/tags/Chromium" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Chromium</span></a> <a href="https://aus.social/tags/Chrome" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Chrome</span></a></p>
Joel :casio: :blobcatderpy:<p>I've made some small changes to my <a href="https://fosstodon.org/tags/PersonalWebsite" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PersonalWebsite</span></a>, added my avatar to the landing page, joined a new <a href="https://fosstodon.org/tags/webring" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webring</span></a> and restructured a couple other things.</p><p>This is my 3rd post for <a href="https://fosstodon.org/tags/Blaugust2025" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Blaugust2025</span></a>!</p><p><a href="https://joelchrono.xyz/blog/small-website-updates" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">joelchrono.xyz/blog/small-webs</span><span class="invisible">ite-updates</span></a></p><p><a href="https://fosstodon.org/tags/blogging" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>blogging</span></a> <a href="https://fosstodon.org/tags/css" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>css</span></a> <a href="https://fosstodon.org/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a> <a href="https://fosstodon.org/tags/blaugust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>blaugust</span></a></p>
Cédric Belin<p>It's crazy that, in 2025, CSS still doesn't support "//" as a code comment.</p><p><a href="https://mastodon.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> <a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a></p>
feliks<p>TIL lobotomized owl</p><p><a href="https://salehmubashar.com/blog/the-owl-selector-in-css" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">salehmubashar.com/blog/the-owl</span><span class="invisible">-selector-in-css</span></a></p><p><a href="https://chaos.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a></p>
Frontend Dogma<p>Brick by Brick: Help Us Build CSS Masonry, by <span class="h-card" translate="no"><a href="https://mas.to/@patrickbrosset" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>patrickbrosset</span></a></span> (<span class="h-card" translate="no"><a href="https://chromium.social/@developers" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>developers</span></a></span>):</p><p><a href="https://developer.chrome.com/blog/masonry-update" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.chrome.com/blog/maso</span><span class="invisible">nry-update</span></a></p><p><a href="https://mas.to/tags/css" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>css</span></a> <a href="https://mas.to/tags/masonry" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>masonry</span></a> <a href="https://mas.to/tags/layout" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>layout</span></a> <a href="https://mas.to/tags/chrome" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>chrome</span></a> <a href="https://mas.to/tags/google" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>google</span></a> <a href="https://mas.to/tags/edge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>edge</span></a> <a href="https://mas.to/tags/microsoft" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>microsoft</span></a> <a href="https://mas.to/tags/browsers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>browsers</span></a></p>
LAYERED<p>I'm currently rebuilding my website. It's amazing what you can do with <a href="https://chaos.social/tags/Publii" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Publii</span></a>. It's still my favourite static website generator.</p><p>I started with one of my projects, the <a href="https://chaos.social/tags/NeXT" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NeXT</span></a> <a href="https://chaos.social/tags/SoundBox" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SoundBox</span></a> mini. I tweaked the <a href="https://chaos.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> and custom <a href="https://chaos.social/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a>. I think I can use that as a basis for the rest of the website. 😃</p><p><a href="https://chaos.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a> <a href="https://chaos.social/tags/NeXTComputer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NeXTComputer</span></a> <a href="https://chaos.social/tags/RetroComputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RetroComputing</span></a> <a href="https://chaos.social/tags/VintageComputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VintageComputing</span></a> <a href="https://chaos.social/tags/3DPrint" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>3DPrint</span></a> <a href="https://chaos.social/tags/3DPrinting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>3DPrinting</span></a> <a href="https://chaos.social/tags/Shapr3D" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Shapr3D</span></a></p><p><a href="https://new.layered.work/projects/next-soundbox/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">new.layered.work/projects/next</span><span class="invisible">-soundbox/</span></a></p>
Frontend Dogma<p>What Your Website’s Style Says About You—and How Hackers Can Use It Against You, by <span class="h-card" translate="no"><a href="https://me.dm/@errajaryan" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>errajaryan</span></a></span>:</p><p><a href="https://archive.fo/wxKhE" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">archive.fo/wxKhE</span><span class="invisible"></span></a></p><p><a href="https://mas.to/tags/security" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>security</span></a> <a href="https://mas.to/tags/css" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>css</span></a> <a href="https://mas.to/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a></p>
Thomas Weibel<p><a href="https://swiss.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a>¹ v0.2 published! </p><p><a href="https://www.thomasweibel.ch/solar-system4/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">thomasweibel.ch/solar-system4/</span><span class="invisible"></span></a> </p><p>¹Cascading Solar System </p><p><a href="https://swiss.social/tags/astronomy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>astronomy</span></a> <a href="https://swiss.social/tags/astrophysics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>astrophysics</span></a> <a href="https://swiss.social/tags/space" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>space</span></a> <a href="https://swiss.social/tags/nasa" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nasa</span></a> <a href="https://swiss.social/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a> <a href="https://swiss.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a> <a href="https://swiss.social/tags/webapp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webapp</span></a> <a href="https://swiss.social/tags/solarsystem" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>solarsystem</span></a> <a href="https://swiss.social/tags/opendata" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opendata</span></a> <span class="h-card" translate="no"><a href="https://mastodon.social/@OpendataCH" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>OpendataCH</span></a></span> <span class="h-card" translate="no"><a href="https://w3c.social/@w3c" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>w3c</span></a></span></p>
Michael Gale<p>I also have a silly web components question... </p><p>If I choose a helper library like <a href="https://hachyderm.io/tags/LitHtml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LitHtml</span></a> and make some component. Say like a button. And I want to make it portable to different projects / contexts.</p><p>Is it possible with some tool to "compile" it back to a vanilla web-component again? Or would it only be "portable" to some other context if you also handed over the dependency on Lit? </p><p><a href="https://hachyderm.io/tags/html" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>html</span></a> <a href="https://hachyderm.io/tags/css" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>css</span></a> <a href="https://hachyderm.io/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a> <a href="https://hachyderm.io/tags/js" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>js</span></a> <a href="https://hachyderm.io/tags/webcomponents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webcomponents</span></a></p>
David Bisset<p><a href="https://awesomeindex.dev/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">awesomeindex.dev/</span><span class="invisible"></span></a> allows you to search trouble GitHub's "Awesome" Lists.</p><p><a href="https://phpc.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a> <a href="https://phpc.social/tags/frontend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>frontend</span></a> <a href="https://phpc.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> <a href="https://phpc.social/tags/webtools" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webtools</span></a> <a href="https://phpc.social/tags/Github" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Github</span></a></p>