Found 1270 bookmarks
Custom sorting
12 Modern CSS One-Line Upgrades | Modern CSS Solutions
12 Modern CSS One-Line Upgrades | Modern CSS Solutions
Sometimes, improving your application CSS just takes a one-line upgrade or enhancement! Learn about 12 properties to start incorporating into your projects, and enjoy reducing technical debt, removing JavaScript, and scoring easy wins for user experience.
·moderncss.dev·
12 Modern CSS One-Line Upgrades | Modern CSS Solutions
CSS Relative colors - iO tech_hub
CSS Relative colors - iO tech_hub
Before the relative color syntax you had to rely on CSS variables or even worse: JavaScript to modify the parameters of a color. Using the from keyword the browser can convert the originating color to different color spaces and change the color properties.
·techhub.iodigital.com·
CSS Relative colors - iO tech_hub
The `hanging-punctuation` property in CSS
The `hanging-punctuation` property in CSS
(I did a Twitter thread on this a while back, against my better judgment, and now moving to a proper blog.) The hanging-punctuation property in CSS is almost a no-brainer. The classic example is a …
·chriscoyier.net·
The `hanging-punctuation` property in CSS
New CSS Viewport Units Do Not Solve The Classic Scrollbar Problem — Smashing Magazine
New CSS Viewport Units Do Not Solve The Classic Scrollbar Problem — Smashing Magazine
Since the introduction of CSS viewport units in 2012, many of us have been using `width: 100vw` as a way to set an element’s width to the full width of the viewport. But, as Šime Vidas explains in this deep dive, `100vw` does not always represent the full width of the viewport due to differences in how browsers handle scrollbars.
·smashingmagazine.com·
New CSS Viewport Units Do Not Solve The Classic Scrollbar Problem — Smashing Magazine
Anchor Positioning | 12 Days of Web
Anchor Positioning | 12 Days of Web
Anchor Positioning is an incoming dynamic addition to enhance the capabilities of CSS positioning.
·12daysofweb.dev·
Anchor Positioning | 12 Days of Web
A Few Ways CSS Is Easier To Write In 2023 — Smashing Magazine
A Few Ways CSS Is Easier To Write In 2023 — Smashing Magazine
We’re living in somewhat of a CSS renaissance with new features, techniques, experiments, and ideas coming at us to an extent we haven’t seen since “CSS3”. It’s easy to feel overwhelmed when your profession seems to be advancing at breakneck speed, but Geoff Graham considers the ways “modern” CSS in 2023 has actually made CSS “easier” to write.
·smashingmagazine.com·
A Few Ways CSS Is Easier To Write In 2023 — Smashing Magazine
Workarounds for buggy gradients
Workarounds for buggy gradients
CSS has a great new feature where you can specify the color space to use by adding in to the gradient (not yet supported in Firefox). This is especially useful
·keithjgrant.com·
Workarounds for buggy gradients
Being Picky about a CSS Reset for Fun & Pleasure
Being Picky about a CSS Reset for Fun & Pleasure
Just days before Andy revamped his (more) Modern CSS Reset, Dave and I were line-by-lining it on ShopTalk Show. Mouthblogging is fun and all, but so is Writemouthblogging, known colloquially as &#8…
·chriscoyier.net·
Being Picky about a CSS Reset for Fun & Pleasure
A Couple of New CSS Functions I’d Never Heard Of
A Couple of New CSS Functions I’d Never Heard Of
light-dark() Saw Bramus post about this. :root { color-scheme: light dark; –text-color: light-dark(#333, #ccc); } Apparently, this is just a first step on the way toward a more robust schemed…
·chriscoyier.net·
A Couple of New CSS Functions I’d Never Heard Of
Modern CSS in Real Life - Chris Coyier
Modern CSS in Real Life - Chris Coyier
Hey! Chris Coyier here. This is a blog-itized version of a presentation I created. It started life as a Keynote file which I presented in person at RenderATL in June of 2023. I put a lot of work into it! I’m so grateful to everyone who came and saw it. But you can’t beat the […]
·chriscoyier.net·
Modern CSS in Real Life - Chris Coyier
Revealing Images With CSS Mask Animations — Smashing Magazine
Revealing Images With CSS Mask Animations — Smashing Magazine
Let’s play with images and experiment with CSS masks. The idea is fairly simple: take a single `` tag and harness the power of CSS to accomplish complex hover transitions. Through different demos, you will see how CSS masks combined with gradients allow us to create fancy effects — with efficient, reusable code.
·smashingmagazine.com·
Revealing Images With CSS Mask Animations — Smashing Magazine
A (more) Modern CSS Reset - Andy Bell
A (more) Modern CSS Reset - Andy Bell
I wrote A Modern CSS Reset almost 4 years ago and, yeh, it’s not aged overly well. I spotted it being linked up again a few days ago and thought it’s probably a good idea to publish an updated version. I know I also have a terrible record with open source maintenance, so I thought […]
·andy-bell.co.uk·
A (more) Modern CSS Reset - Andy Bell
Falling For Oklch: A Love Story Of Color Spaces, Gamuts, And CSS — Smashing Magazine
Falling For Oklch: A Love Story Of Color Spaces, Gamuts, And CSS — Smashing Magazine
The CSS Color Module Level 4 specification defined a slew of new color features when it became a candidate recommendation in 2022, including Oklab and Oklch, which have widened the field of color we have to work with. Explore the Oklch color space and how to start using it in CSS today.
·smashingmagazine.com·
Falling For Oklch: A Love Story Of Color Spaces, Gamuts, And CSS — Smashing Magazine