Search
Items tagged with: CSS
I'm available for speaking gigs in 2025, if your conference or team is interested in talks/workshops on #CSS!
I love to go in-depth on the classics –cascade, grids, alignment, etc. But I can also teach the new hits: container queries, colors, layers, :has(), et al.
Let's get scheduled!
Semantic websites are awesome! Among other things, they let you write reusable CSS. Please send me your semantic websites, so I can analyze them for common patterns and write a composable CSS framework.
jak2k.schwanenberg.name/post/c…
#indieweb #smolweb #semanticHTML #html #semantic #css #semanticcss
I've started working on the site, using the "classless" version of this style sheet. github.com/picocss/pico/
I'm using the Hugo static site generator. I'll write more about it when I create a blog for longer-form posts.
#accessibility #css #WebDevelopment
TL;DR:
1. Probably don’t add `` without guidance from a copywriter.
2. Probably don’t add `` to foreign words without expert guidance.
3. Probably don’t add `` to URLs, email addresses, code blocks, etc.
4. Probably restrict `<wbr>` to URLs, email addresses, code blocks, and similar where technical accuracy is key.
5. Probably restrict `<wbr>` to before periods and dashes and maybe slashes in URLs and emails.
#accessibility #a11y #css #html
What I now want is a set of predefined style sheets that will take care of the visual layout, conforming to all of the applicable accessibility guidance (font selection, layout for mobile and desktop environments, reflow, etc.). The plan would be to write correct HTML, and for the presentation to be handled automatically - in the first instance, for static content.
What are others using and recommending nowadays? There are various CSS collections on GitHub, for example.
#CSS #WebAccessibility #Accessibility
People on StackOverflow telling people to screw up #accessibility with the HTML dialog element defeats the purpose of using that element in the first place IMO. Please upvote my answer that corrects the numerous wrong answers, including the accepted answer, to this question if you have an SO account.
stackoverflow.com/a/79028606/2…
#webDev #a11y #html #css #javaScript
The CSSWG as agreed to publish a first Working Draft for Masonry layout – with the two major proposals merged where possible, and otherwise presented side by side. Most of the differences are syntax only.
Here's the Editor's Draft that will be published:
And the discussion:
github.com/w3c/csswg-drafts/is…
#css
Don't Use JS for That: Moving Features to CSS and HTML by Kilian Valkhof 👏
Of course, ensure it's accessible – especially the scroll example in this presentation.
youtube.com/watch?v=IP_rtWEMR0… #webdev #webdevelopment #javascript #css
Now in #Firefox DevTools 129: massive performance improvements, @starting-style support and accessibility fixes:
alt text in #CSS generated `content` is now supported all modern browsers (as of firefox 128 and safari 17.4)
please hide your weird glyphs and icon fonts using an empty string like this:
```
content: "›";
content: "›" / "";
```
developer.mozilla.org/en-US/do…
content - CSS: Cascading Style Sheets | MDN
The content CSS property replaces content with a generated value. It can be used to define what is rendered inside an element or pseudo-element.MDN Web Docs
New post, another in my series of using the right lingo while also carrying the IKEA vibe:
“Be Careful Using ‘Grid’”
adrianroselli.com/2024/07/be-c…
I try to disambiguate between 8 different meanings of the word ‘grid’ in a web dev context.
#HTML #ARIA #CSS #accessibility #a11y
Be Careful Using ‘Grid’
TL;DR: Be careful when using the word grid on its own. Be certain you have chosen the term that accurately describes the pattern you want.Adrian Roselli
Why don’t we talk about minifying CSS anymore? blog.sentry.io/why-dont-we-tal…
Me: because Javascript is a much, much, much bigger problem for web performance.
#a11y #webdev #css #javascript #webperf
Why don’t we talk about minifying CSS anymore?
Remember Grunt files? Gulp files? We rarely need to think about CSS minification, chunking, splitting and post-processing anymore. Here's why.Salma Alam-Naylor (Product Blog • Sentry)
Modern CSS Layouts: You Might Not Need A Framework For That — Smashing Magazine
It’s easy to get lost in a sea of CSS frameworks and libraries, each promising easier styling and smoother layouts.Smashing Magazine
Checkout @alice update on GTK CSS 💅
blogs.gnome.org/alicem/2024/06…
So many goodies 🤩
• variables
• color()
• color-mix()
• relative colors
• rgb, hsl, linear srgb, hwb, oklab, oklch, ...
• math functions
• accent colors
I remember longing for proper skipping of descenders in #CSS. Now that skipping is default in most browser I’m often struck by how *terrible* it is for hyperlink legibility.
The first line in the image shows a linked line with text-decoration-skip-ink set to "auto".
The second line shows the same linked line with text-decoration-skip-ink set to "none".
Just by looking at the first line, you can’t say if it is multiple links or or not.
Perhaps something for @Seirdy.
This piece from @heydon details his system for using the new features of #CSS to test HTML for proper semantics and structure. Just incredible what’s going on in some of these selectors.
heydonworks.com/article/testin…
Testing HTML With Modern CSS
CSS can be a great HTML testing tool, especially in 2024Heydon Pickering (heydonworks.com)
Retro; the customizable clock widget is now available on Flathub in v2
What's new:
• 24/12h support (follows GNOME Settings)
• Energy usage optimizations
• Better support for round clocks
• Controls moved out of the way
What do you think of the floating header bar?
flathub.org/apps/re.sonny.Retr…
#GNOME #GTK #CSS #Flathub #Flatpak #Linux
This is so f***** up!! O_O
Be aware when you receive HTML emails (who doesn't?)!
gruene.social/@weddige/1121903…
#HTML #HTMLmail #CSS
#Phishing #SCAM
#SocialEngineering
#Thunderbird #Outlook
#KoboldLetters
Konstantin Weddige (@weddige@gruene.social)
Attached: 1 image Welcome to another edition of "Is this phishing?" Assume the email is in principle plausible and the transaction ID exists. What is the worst that can happen if you press send? #phishinggruene.social
S @heydon nesouhlasim temer v nicem, ale jeho clanky rozhodne stoji za to cist. Pokud jste nekompromisni zastanci filozofie "Pokud se ti nelibi CSS, tak ho jenom neumis dost dobre", tak budete chrochtat blahem.
Pro nas ostatni je to dilek do skladanky, jak nad frontend vyvojem uvazovat a hluboke zamysleni nad dogmatismem v IT.
heydonworks.com/article/what-i…
What is Utility-First CSS?
Learn about utility-first CSS and what is meant by “utility“ in this contextHeydon Pickering (heydonworks.com)
Designing better target sizes
An interactive guide on designing better target sizes on the web.ishadeed.com
nuejs.org/blog/tailwind-vs-sem…
"Semantic version is several times smaller, renders faster, and requires no extra CSS tooling"
#webperf #css #webdev
Tailwind vs Semantic CSS
Comparing two identically designed websites, their weight, amount of HTML and CSS, rendering speed, and best practices.nuejs.org
In “Techniques to Break Words” I quickly review:
`word-break`
`overflow-wrap`
`hyphens`
`<wbr>`
``
adrianroselli.com/2024/02/tech…
You can play around with the demo directly:
cdpn.io/aardrian/debug/eYoOdrX
Techniques to Break Words
Photo by studio tdes. Used under CC BY 2.0 Deed. Image cropped and contrast enhanced. A few days ago Benjy Stanton asked about breaking long words in tables. I offered a suggestion, which may or may not have worked. I never asked.Adrian Roselli
noti.st/cariefisher/1gWjQz/css…
Presentation slides from WordPress Accessibility Day by Carie Fisher
#css #a11y #webdesign #webdev
CSS + Accessibility: Inclusion Through User Choice by Carie Fisher
Every day we have a series of choices to make. Get up early to work out or hit the snooze button? Double foam mocha latte or decaf green tea? Tabs or spaces? Our choices — even the small ones — shape our identities and help frame how we see the world…noti.st
"Most importantly, tooltips should only provide descriptive and non-essential text, giving slightly more detailed text for active elements such as links and form controls. Ultimately, they provide expendable text which is already on the web page."
htmhell.dev/adventcalendar/202…
Great in-depth article about #tooltips by Jan Hellbusch. He knows what he's talking about, had the pleasure to be in one of his workshops and he's an absolute pro. 🤯
#HTML #CSS #JavaScript #accessibility #a11y #HTMHell
Design pattern for custom tooltips - HTMHell
A collection of bad practices in HTML, copied from real websites.Design pattern for custom tooltips - HTMHell
chrome.google.com/webstore/det…
#a11y #wcag #tools #text #css #accessibility #webdesign
Text Spacing Editor
A tool for editing text spacing properties on web pages. WCAG conformance information included.chrome.google.com
About CSS prefers-reduced-transparency:
developer.chrome.com/blog/css-…
#UIDesign #CSS #usability #a11y
CSS prefers-reduced-transparency - Chrome for Developers
Optimize and adjust for users who prefer an opaque UI.Chrome for Developers
Day 103: the prefers-reduced-transparency media feature - Manuel Matuzovic
I'm a frontend developer in Graz, specialized in HTML, accessibility, and CSS layout and architecture.Manuel Matuzovic
smolcss.dev/
#developer #css
ashleemboyer.com/blog/don-t-us… #a11y #css #webdev #webdesign
Don't Use Fixed CSS height or width on Buttons, Links, or Any Other Text Containers | Ashlee M Boyer
Fixed heights and widths risk 'loss of content' when text is resized.ashleemboyer.com
text-wrap:balance has landed on the latest Firefox 🎉
This allows multiple lines of text to have their lines broken in such a way that each line is roughly the same width, often used to make headlines more readable and visually appealing.
bugzilla.mozilla.org/1731541
developer.chrome.com/blog/css-…
#CSS #Typography
CSS text-wrap: balance - Chrome for Developers
A classic typography technique of hand-authoring line breaks for balanced text blocks, comes to CSS.Chrome for Developers
Under-Engineered Select Menus
Others in this sorta-series: Under-Engineered Custom Radio Buttons and Checkboxen Under-Engineered Toggles Under-Engineered Toggles Too Under-Engineered Text Boxen I am still confounded how many developers and designers see a and immediately…Adrian Roselli