Show newer

Going forward, invalid selectors in a comma-separated chain will NOT invalidate the whole selector. But in older browsers, they DO.
/* dangerous! */
.menu:focus .submenu,
.menu:focus-within .submenu {
display: block;
}
css-tricks.com/one-invalid-pse

::marker is fantastic and now available in all the modern browsers.
@simevidas notes a favorite use-case (list markers matching size of headers):
css-tricks.com/almanac/selecto
jsbin.com/mogotoxazo/edit?html

RT Adam Argyle
✅ *fixed* conic gradient background
✅ svg masked
<button>
✅ light & dark mode
✅ clean markup
✅ beautiful & dynamic result (imo)
`background: conic-gradient(...) fixed;` 🎉
effect is like each icon is a window to a shared color dimension.. 🤓
</button>

You don't have to keep chasing the hype, says @HugoGiraudel. There is no rush, you're doing well.
css-tricks.com/there-is-no-nor

RT Rick Viscomi
Re @argyleink Thanks Adam! I think you'll enjoy the ~75 pages of CSS insights excavated by @leaverou @svgeesus and @rachelandrew this year 😁
almanac.httparchive.org/en/202

RT Adam Argyle
💡 FYI 💡
DevTools has Guides for when you need to check alignment 🤓
⚙️ Settings
▹ Preferences
▹ Elements
✅ Show rulers
They draw guides for the margin, padding and border boxes! Even for pseudo elements!! (VisBug doesn't do that)
Pretty rad.

Show older
小森林

每个人都有属于自己的一片森林,也许我们从来不曾走过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。愿这里,成为属于你的小森林。