francoisz, to programming
@francoisz@fosstodon.org avatar

10 years ago, I explained that you don't need JavaScript to provide a full-text search - CSS is enough. Although this technique was ground-breaking, almost nobody used it. I think it is time for you to revisit this article 😉 http://www.redotheweb.com/2013/05/15/client-side-full-text-search-in-css.html

5t3ph, to webdev
@5t3ph@front-end.social avatar

📝 New post: Testing Feature Support for Modern CSS

Which aims to answer "how do you know a new feature is 'safe' to use?"

https://moderncss.dev/testing-feature-support-for-modern-css/

✨ Plus new companion project SupportsCSS, a drop-in feature detection script / handy reference table for creating @supports and JS-based feature tests.

https://supportscss.dev/

kizu, to webdev
@kizu@front-end.social avatar

Just filed a webkit bug: “Container query length units use border box instead of a content box” — https://bugs.webkit.org/show_bug.cgi?id=256178

beep, to books
@beep@follow.ethanmarcotte.com avatar

Just got word from my friends at @abookapart that paperback copies of my two books are 25% off! DANG

Here’re some links, if you (or someone you know) would like them:

https://abookapart.com/products/responsive-web-design

https://abookapart.com/products/responsive-design-patterns-principles

They’ve been around for a minute, but I’m still real proud of them. 💜

anatudor, to programming
rolle, to fediverse
@rolle@mementomori.social avatar

I would like to endorse other minor web apps in the , but most of them are full of UI glitches, are incomplete and downright buggy looking odd things.

From my designer point of view and are the only effective ones, because they speak to people who are used to proper visual design language (read: Non-nerds, non-engineers, the regular people and design oriented people).

Things like , , and newer niche apps cause reactions like: "What is this?", they look like back end is fine but nobody is in charge of the design and the UI has no direction whatsoever. It's the general culprit in the programming world: A back end developer thinks everything is fine when we add a CSS framework and that's that.

If we just get the UI right everywhere, we get more people to the . I just wish there was more /design people willing to contribute.

rolle,
@rolle@mementomori.social avatar

@mitexleo I would like to contribute to many things. But I have limited time and energy, so I just focus on the things that I myself use and are the easiests, to save myself from burning out. Right now the is my sole focus and perhaps later the CSS/UI in general. is out of scope time/energy-wise for me right now.

I too hope that more excited people have motivation and time to help, but I'm well aware of the fact that all the good ones are overworked and busy with projects they make money from, me included. But one can hope. :bunhdlurkaww:

tomw, to webdev
@tomw@mastodon.social avatar

If you follow the hashtag then a few times per day people post "why doesn't my CSS work?" puzzles. I try to do them when I can. It's like CSS Wordles but it's useful to someone.

Stormeko, to webdev

Anyone good with HTML and CSS that can tell me why one of my pages have a gap and the other doesn't? It happens because of the backstory bit, but I don't see anything wrong?

Page with the gap https://stormeko.neocities.org/OCs/Tangle

Page without the gap https://stormeko.neocities.org/OCs/Dakota

Gruener_Antifa, to webdev German

Hab ich schon mal erzählt das ich hass?
Bestimmt!
Wer sagt mir wie ich den Button + Preis runterbekommen auf die höhe von daneben?
https://gruenerantifashop.de/t-shirts
Ganz unten zu sehen

davidbisset, to webdev
@davidbisset@phpc.social avatar

Rebuilding a featured news section with modern : Vox news

https://ishadeed.com/article/rebuild-featured-news-modern-css/

seblammers, to programming
@seblammers@vis.social avatar

I finally pushed myself and published my personal website:

https://sebastianlammers.com/

It's where I experiment with all things web, like esp. and most often in the context of or similar forms of visual storytelling.

I have also put my first blog post up, where I share some notes on in javascript:
https://sebastianlammers.com/posts/data-in-js-00

It's a multipart post aimed to be very beginner friendly.

Enjoy!

anatudor, to programming

How would you code this sort of outset gradient border with:

❌no JS
⚠️only 1 img element
❌no magic values for the gradient stops, they're obtained from img source
⚠️no SVG, no images in general other than the actual image & the border one

Image examples 👇

Example image #1.
Example image #2.
Example image #3.

asahi95, to webdev

I wonder if I should pursue into becoming a web developer instead..

maybe get started in learning some , , and other languages for the web :blobcatthinking:

jensimmons, to webdev
@jensimmons@front-end.social avatar
davidbisset, to webdev
@davidbisset@phpc.social avatar
fvg, to webdev

💡 My new blog post about building my website from scratch is out!

🛠️ I talk about modern WebDev practices, security, complexity, accessibility and more..

https://www.fvg.io/blog/AB1414/building-my-website-devsecops-practices

rolle, to opensource
@rolle@mementomori.social avatar

Mastodon Bird UI v1.5.1 released! :neon_skull:

Changelog:

  • Fix server information links not visible after logging in (thanks @fofwisdom!)
  • Fix follow_requests order (thanks @tribela!)

Live demo: https://mementomori.social

Source code: https://github.com/ronilaukkarinen/mastodon-bird-ui

Installation instructions for admins: https://github.com/ronilaukkarinen/mastodon-bird-ui#installation-for-mastodon-instance-admins

Installation instructions for users: https://github.com/ronilaukkarinen/mastodon-bird-ui#installation-for-regular-users-contributing-and-testing

Vaguery, to webdev
@Vaguery@a2mi.social avatar

in and question, which is super hard to search for, and which I solved once years ago but lost in the meantime:

You are typesetting standard one-column text (article, novel, etc) in HTML5. There needs to be a blockquote inside the paragraph, which continues after the quote.

Suppose further that the block quote itself contains 2 paragraphs.

On its face this cannot be done: both <p> and <blockquote> are block elements, by spec <p> cannot contain block elements.

anatudor, to webdev

In , an inset box-shadow is drawn above the background, but underneath the content.

sil, to random
@sil@mastodon.social avatar

hm. If I've got an img with object-fit contain, and I give it a background-image of linear-gradient(red, blue), then the background doesn't get object-fitted. A linear-gradient doesn't have a size, so background-size:contain doesn't work. This is annoying. Is it resolveable?

sil,
@sil@mastodon.social avatar

as a quick demonstration of this problem, see https://jsbin.com/zowowax/1/edit?html,css,output which shows the problem: the green/yellow gradient shows up in places where the actual image doesn't, because the image has object-fit and the background can't have.

Edent, to webdev
@Edent@mastodon.social avatar

🆕 blog! “Responsive Yearly Calendar with Flexbox”

This blog has a calendar showing my yearly archives. It was in a table layout - which made sense when I first designed it - but had a few spacing niggles and was hard to make responsive. Now, it behaves like this: The code is relatively straightforward. The HTML for the calendar looks like this: […]

👀 Read more: https://shkspr.mobi/blog/2023/04/responsive-yearly-calendar-with-flexbox/

jbzfn, to programming
@jbzfn@mastodon.social avatar

「 I had "separated my concerns", but there was still a very obvious coupling between my CSS and my HTML. Most of the time my CSS was like a mirror for my markup; perfectly reflecting my HTML structure with nested CSS selectors.

My markup wasn't concerned with styling decisions, but my CSS was very concerned with my markup structure.

Maybe my concerns weren't so separated after all 」
— Adam Wathan


https://adamwathan.me/css-utility-classes-and-separation-of-concerns

noleli, to webdev
@noleli@mastodon.social avatar

How do y’all think about a component having an intrinsic size vs having its container layout determine its size?

For example, should a toolbar set its own height, or should a page’s grid layout manage the toolbar’s height?

JustDalek_, to fediverse

Today I came across the Bird UI Githuhb.

Honestly, this looks clean AF, shoutout @rolle

https://github.com/ronilaukkarinen/mastodon-bird-ui

(Yeah it has a twitter vibe to it, but idc, I like this much better than the default UI, especially the PWA)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • rosin
  • thenastyranch
  • Durango
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • cisconetworking
  • Youngstown
  • mdbf
  • slotface
  • osvaldo12
  • GTA5RPClips
  • kavyap
  • megavids
  • InstantRegret
  • everett
  • cubers
  • vwfavf
  • normalnudes
  • tacticalgear
  • tester
  • ethstaker
  • khanakhh
  • modclub
  • Leos
  • anitta
  • JUstTest
  • All magazines