✨ Plus new companion project SupportsCSS, a drop-in feature detection script / handy reference table for creating @supports and JS-based feature tests.
I would like to endorse other minor web apps in the #Fediverse, but most of them are full of UI glitches, are incomplete and downright buggy looking odd things.
From my designer point of view #Mastodon and #Pixelfed 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 #BookWyrm, #Lemmy, #Friendica 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 #Fediverse. I just wish there was more #CSS/design people willing to contribute. #UI#UIDesign
@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 #MastodonBirdUI is my sole focus and perhaps later the #Mastodon CSS/UI in general. #Lemmy is out of scope time/energy-wise for me right now.
I too hope that more excited #CSS 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:
If you follow the hashtag #css 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.
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? #HTML#CSS#Coding#help
Hab ich schon mal erzählt das ich #CSS 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
It's where I experiment with all things web, like #html#css#javascript esp. #svelte and #svg most often in the context of #dataviz or similar forms of visual storytelling.
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
#Typography in #html and #css 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.
…
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?
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. #css
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: […]
「 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