Matt Smith (@allthingssmitty) 's Twitter Profile
Matt Smith

@allthingssmitty

Helping build a better web. #CSS #JavaScript #FrontEnd #WebDev

ID: 245071405

linkhttp://allthingssmitty.com calendar_today30-01-2011 20:24:52

8,8K Tweet

2,2K Followers

64 Following

Smashing Magazine 🇺🇦 🏳️‍🌈 (@smashingmag) 's Twitter Profile Photo

🔖 A Complete Guide To Accessible Front-End Components. – :focus styles – autocomplete – content sliders – checkboxes – data charts – dark mode – date pickers – navigation – modals – radio buttons – skip links – SVGs – tabs – tables – tooltips smashingmagazine.com/2021/03/comple…

🔖 A Complete Guide To Accessible Front-End Components.

– :focus styles
– autocomplete
– content sliders
– checkboxes
– data charts
– dark mode
– date pickers
– navigation
– modals
– radio buttons
– skip links
– SVGs
– tabs
– tables
– tooltips

smashingmagazine.com/2021/03/comple…
Bramus (@bramus) 's Twitter Profile Photo

🔥 CSS Features to start learning, as I expect them to ship in all browsers in 2022: 1. Container Queries 2. Cascade Layers 3. Color Functions 4. Viewport Units 5. :has() 6. Overscroll Behaviour 7. Subgrid 8. Accent Color 9. Media Query Ranges

Una 🇺🇦 (@una) 's Twitter Profile Photo

CSS Cascade layers are coming to Chromium 99 (currently in Canary) & Firefox 97 (currently in Nightly) So what are they & how do you use them? 👀 I made a quick video to show you: youtu.be/ilrPpSQJb3U

CSS Cascade layers are coming to Chromium 99 (currently in Canary) & Firefox 97 (currently in Nightly)

So what are they & how do you use them? 👀

I made a quick video to show you:
youtu.be/ilrPpSQJb3U
Matt Smith (@allthingssmitty) 's Twitter Profile Photo

Something that I’ve been curious about: If you use a pot to boil water and that’s all you use it for, do you wash the pot when you’re done? 🤔 Okay, fight.

Kevin Powell (@kevinjpowell) 's Twitter Profile Photo

Modern CSS can make a lot of impossible things possible, but it also simplifies some things as well. One use case that I have on pretty much every project these days is setting up a container/wrapper width with min() and margin-inline.

Modern CSS can make a lot of impossible things possible, but it also simplifies some things as well.

One use case that I have on pretty much every project these days is setting up a container/wrapper width with min() and margin-inline.
Steven Pemberton @stevenpemberton@mastodon.social (@stevenpemberton) 's Twitter Profile Photo

CSS co-designer here. !important was added for one reason only: laws in the US that require certain text to be in a given font-size. !important stops the cascade from changing it. Anything else is probably misuse, and a sign you may not understand the cascade properly.

Adam Argyle (@argyleink) 's Twitter Profile Photo

teach a label element to give itself a nice layout upgrade when it's wrapping a checkbox we :has()'nt seen nothing yet with :has()

teach a label element to give itself a nice layout upgrade when it's wrapping a checkbox

we :has()'nt seen nothing yet with :has()
Jack Franklin (@jack_franklin) 's Twitter Profile Photo

Blogged: "Why I don't miss React: a story about using the platform". Some notes on my experience since leaving a React focused role to work on DevTools and how surprisingly pleasant it's been. jackfranklin.co.uk/blog/working-w…

Sara Soueidan (@sarasoueidan) 's Twitter Profile Photo

#a11y reminder: These are not valid: <div aria-label="hello"> <span aria-label="hi"> div and span are generic containers that can only be labelled when they are assigned a meaningful ARIA role. aria-label is prohibited on these elements. See: rawgit.com/w3c/aria/maste…

Una 🇺🇦 (@una) 's Twitter Profile Photo

👀 You may have heard of container queries, but have you heard of ✨ style queries?✨ 🎨 Style queries (also a part of the contain-level-3 spec) allow you to query for styles, not just sizes ✍🏼 I looked at some use cases & wrote up some early thoughts: una.im/style-queries/

CSS Day conference (@cssdayconf) 's Twitter Profile Photo

CSS scroll-snap is a classic CSS property; small, innocent looking API with huge potential. Adam Argyle showed us a whole bag of snappy tricks at #cssday Full talk: youtu.be/34zcWFLCDIc Slides: oh-snap.netlify.app

Jen Simmons (@jensimmons) 's Twitter Profile Photo

Let’s take a look at the 2nd :has() demo. We can make a grid for our content. Allow most cards to automatically fill a 1x1 area. And then use :has() to tell any card that has an image to instead take up a 2x2 area. article:has(img) { grid-column: span 2; grid-row: span 2; }

Let’s take a look at the 2nd :has() demo. We can make a grid for our content. Allow most cards to automatically fill a 1x1 area. And then use :has() to tell any card that has an image to instead take up a 2x2 area.

article:has(img) {
  grid-column: span 2;
  grid-row: span 2;
}